public class RemoteHost extends AbstractHost<RemoteSession>
RemoteSession
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
logger |
Constructor and Description |
---|
RemoteHost(ConnectionInfo ci)
Create a new remote host instance.
|
Modifier and Type | Method and Description |
---|---|
RemoteSession |
connect(int timeout)
Connect to the remote host.
|
getConnectionInfo, internalConnect, toString
public RemoteHost(ConnectionInfo ci)
ci
- Connection information to the remote host (will be locked for changes after this call)public RemoteSession connect(int timeout)
connect
in class AbstractHost<RemoteSession>
timeout
- Timeout in seconds for the connection to be established