public class DefaultToolClientHandler extends java.lang.Object implements ToolClientHandler
Constructor and Description |
---|
DefaultToolClientHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
dispatchRequest(MXSession mxSession,
java.lang.String command,
java.lang.Object[] params)
Dispatch the command.
|
java.lang.Object[] |
packageParam(java.lang.String command,
java.lang.String[] args)
Compose the parameter objects based on a set of command line parameters.
|
java.lang.String |
processReturn(java.lang.String command,
java.lang.Object retObject)
Handle the return object of the call.
|
public java.lang.Object dispatchRequest(MXSession mxSession, java.lang.String command, java.lang.Object[] params) throws MXException, java.rmi.RemoteException
ToolClientHandler
dispatchRequest
in interface ToolClientHandler
MXException
java.rmi.RemoteException
public java.lang.Object[] packageParam(java.lang.String command, java.lang.String[] args)
packageParam
in interface ToolClientHandler
public java.lang.String processReturn(java.lang.String command, java.lang.Object retObject)
processReturn
in interface ToolClientHandler
command
- retObject
-