public class DefaultSSHExit extends java.lang.Object implements SSHExit, CommandLineConstants
| Modifier and Type | Field and Description | 
|---|---|
protected org.jdom2.Document | 
document  | 
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 SSHExitoutput - Response object from sevice invoke command on remote host.MXExceptionpublic java.lang.String getServiceInvokeCmd(byte[] data)
                                     throws MXException
getServiceInvokeCmd in interface SSHExitdata - input XML in byte[].MXExceptionpublic java.lang.String getEnvSetupCmd(byte[] data)
                                throws MXException
getEnvSetupCmd in interface SSHExitdata - input xml in byte[].MXExceptionpublic java.lang.String getWorkingDir(byte[] data)
                               throws MXException
getWorkingDir in interface SSHExitdata - input xml in byte[].MXException