com.ibm.di.fc.remotecmdlnfc
Class RexecConnection
java.lang.Object
com.ibm.di.fc.remotecmdlnfc.ConnectionImpl
com.ibm.di.fc.remotecmdlnfc.RexecConnection
- All Implemented Interfaces:
- Connection
public class RexecConnection
- extends ConnectionImpl
This class encapsulates the RXA library's REXEC Connection related objects
Field Summary |
protected Object[] |
args
|
protected static String |
TYPE
The connection protocol being used |
Fields inherited from class com.ibm.di.fc.remotecmdlnfc.ConnectionImpl |
as400Proxy, as400RunProg, as400SSL, EMPTYSTRING, hostName, keystore, lp, parentDirToStdin, passphrase, password, port, randomDir, rtnCodeAttr, stdErrorAttr, stdOutputAttr, timeout, userName |
Method Summary |
com.ibm.tivoli.remoteaccess.RemoteAccess |
beginSession()
Begin a session with the target machine using the REXEC protocol |
String |
getType()
Return this connection type |
Methods inherited from class com.ibm.di.fc.remotecmdlnfc.ConnectionImpl |
createRandomDir, endSession, getHost, getOSSeparator, getRXAProtocol, getUser, initializeProps, removeDir, runCommand, setHost, setRXAProtocol, setUser, transferFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
protected static final String TYPE
- The connection protocol being used
- See Also:
- Constant Field Values
args
protected Object[] args
RexecConnection
public RexecConnection(LogProxy lp)
- RexecConnection Constructor
- Parameters:
lp
- LogProxy for logging
beginSession
public com.ibm.tivoli.remoteaccess.RemoteAccess beginSession()
throws RemoteConnectException
- Begin a session with the target machine using the REXEC protocol
- Specified by:
beginSession
in interface Connection
- Specified by:
beginSession
in class ConnectionImpl
- Returns:
- RemoteAccess The RXA connection object
- Throws:
RemoteConnectException
getType
public String getType()
- Return this connection type
- Specified by:
getType
in interface Connection
- Specified by:
getType
in class ConnectionImpl
- Returns:
- String The connection protocol used for this connection.