com.ibm.di.fc.remotecmdlnfc
Class SelectProtocol
java.lang.Object
com.ibm.di.fc.remotecmdlnfc.SelectProtocol
public class SelectProtocol
- extends Object
Connect to the target machine using any protocol that is available.
Method Summary |
Connection |
findProtocol()
Find a suitable protocol that is available on the target machine and create a connection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hostName
protected String hostName
userName
protected String userName
password
protected byte[] password
passphrase
protected byte[] passphrase
keystore
protected String keystore
port
protected int port
TYPE
public static final String TYPE
- The connection protocol being used
- See Also:
- Constant Field Values
SelectProtocol
public SelectProtocol(Properties p,
LogProxy log)
- Construct a SelectProtocol object with the provided properties
- Parameters:
p
- Properties object containing the configured attribute valueslog
- LogProxy object to be used for logging
findProtocol
public Connection findProtocol()
throws RemoteConnectException
- Find a suitable protocol that is available on the target machine and create a connection
- Returns:
- Connection RXA Connection object
- Throws:
RemoteConnectException
- If a connection cannot be established