public class SSHHandler extends BaseRouterHandler implements CommandLineConstants
Modifier and Type | Field and Description |
---|---|
static MXLogger |
INTEGRATIONLOGGER
Integration logger for logging messages related to MAXIMO startup.
|
com.ibm.tivoli.remoteaccess.SSHProtocol |
sshConnectionObj
Remote connection object
|
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
BIDICONFIG, PASSWORD, USERNAME
Constructor and Description |
---|
SSHHandler() |
SSHHandler(MaxEndPointInfo endPointInfo) |
Modifier and Type | Method and Description |
---|---|
int |
getCmdTimeOut() |
int |
getConnTimeOut() |
java.lang.String |
getHost() |
boolean |
getIgnoreSetupErr() |
int |
getMaxRetry() |
int |
getPort() |
java.util.List<RouterPropsInfo> |
getProperties() |
int |
getRetryInterval() |
java.lang.String |
getSshExitName() |
java.lang.String |
getUserId() |
byte[] |
invoke(java.util.Map<java.lang.String,?> metaData,
byte[] data)
All directly extending classes should call super.invoke(metaData, data) before proceeding
with the invoke.
|
public static final MXLogger INTEGRATIONLOGGER
public com.ibm.tivoli.remoteaccess.SSHProtocol sshConnectionObj
public SSHHandler()
public SSHHandler(MaxEndPointInfo endPointInfo)
endPointInfo
- public java.util.List<RouterPropsInfo> getProperties()
getProperties
in interface RouterHandler
public java.lang.String getUserId()
public java.lang.String getHost()
public int getPort()
public int getRetryInterval()
public int getMaxRetry()
public boolean getIgnoreSetupErr()
public java.lang.String getSshExitName()
public int getConnTimeOut()
public int getCmdTimeOut()
public byte[] invoke(java.util.Map<java.lang.String,?> metaData, byte[] data) throws MXException
BaseRouterHandler
invoke
in interface RouterHandler
invoke
in class BaseRouterHandler
MXException
RouterHandler.invoke(java.util.Map, byte[])