|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pfsw.tools.cda.darc.client.BaseJMXClientConnection
org.pfsw.tools.cda.darc.client.DARCConnection
public class DARCConnection
This is the connection class that opens and closes the connection to the remote CDA application. It also provides a generic method to execute the commands against the remote application.
| Field Summary |
|---|
| Fields inherited from interface org.pfsw.tools.cda.darc.IRemoteControl |
|---|
DEFAULT_HOST, DEFAULT_PORT |
| Constructor Summary | |
|---|---|
DARCConnection()
Initialize the new instance with default values. |
|
| Method Summary | |
|---|---|
IParameterMap |
execute(CommandName command,
IParameterMap parameters)
Executes a command with the given parameters and returns a map with the result of the execution. |
| Methods inherited from class org.pfsw.tools.cda.darc.client.BaseJMXClientConnection |
|---|
close, getCurrentObjectName, invoke, openConnection, openConnection, selectMBean |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DARCConnection()
| Method Detail |
|---|
public IParameterMap execute(CommandName command,
IParameterMap parameters)
The names and values of the parameters are defined in the command reference. Any parameters that are not recognized for a particular command will be ignored.
execute in interface IRemoteControlcommand - The name of the command to be executed (must not be null).parameters - The parameter for the command (must not be null).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||