public class DefaultSSHExit extends java.lang.Object implements SSHExit, CommandLineConstants
CL_CMD_ARG, CL_CMD_PATTERN, CL_ENV_SETUP_CMD, CL_WORKING_DIR, CLRESPONSEERR, CLRESPONSEOUT, CLRETURNCODE, CMDTIMEOUT, CONNTIMEOUT, HOST, IGNORE_SETUP_ERR, MAX_RETRY, PORTNO, RETRY_INTERVAL, SSHEXIT
Constructor and Description |
---|
DefaultSSHExit() |
Modifier and Type | Method and Description |
---|---|
byte[] |
createResponse(com.ibm.tivoli.remoteaccess.ProgramOutput output)
Process the service invoke command output and returns in byte array.
|
java.lang.String |
getEnvSetupCmd(byte[] data)
Returns the Environment setup command.
|
java.lang.String |
getServiceInvokeCmd(byte[] data)
Returns the service invoke command from document.
|
java.lang.String |
getWorkingDir(byte[] data)
Returns the Working directory (absolute path).
|
public byte[] createResponse(com.ibm.tivoli.remoteaccess.ProgramOutput output) throws MXException
createResponse
in interface SSHExit
output
- Response object from sevice invoke command on remote host.MXException
public java.lang.String getServiceInvokeCmd(byte[] data) throws MXException
getServiceInvokeCmd
in interface SSHExit
data
- input XML in byte[].MXException
public java.lang.String getEnvSetupCmd(byte[] data) throws MXException
getEnvSetupCmd
in interface SSHExit
data
- input xml in byte[].MXException
public java.lang.String getWorkingDir(byte[] data) throws MXException
getWorkingDir
in interface SSHExit
data
- input xml in byte[].MXException