public final class SessionConnection extends Object implements JschSshClient.Connection<com.jcraft.jsch.Session>
Modifier and Type | Class and Description |
---|---|
static class |
SessionConnection.Builder |
Modifier and Type | Method and Description |
---|---|
static SessionConnection.Builder |
builder() |
void |
clear() |
com.jcraft.jsch.Session |
create() |
boolean |
equals(Object o) |
int |
getConnectTimeout() |
com.google.common.net.HostAndPort |
getHostAndPort() |
LoginCredentials |
getLoginCredentials() |
com.google.common.base.Optional<com.jcraft.jsch.Proxy> |
getProxy() |
com.jcraft.jsch.Session |
getSession() |
int |
getSessionTimeout() |
int |
hashCode() |
String |
toString() |
public static SessionConnection.Builder builder()
public void clear()
clear
in interface JschSshClient.Connection<com.jcraft.jsch.Session>
public com.jcraft.jsch.Session create() throws Exception
create
in interface JschSshClient.Connection<com.jcraft.jsch.Session>
Exception
public com.google.common.net.HostAndPort getHostAndPort()
22
public LoginCredentials getLoginCredentials()
public com.google.common.base.Optional<com.jcraft.jsch.Proxy> getProxy()
public int getConnectTimeout()
public int getSessionTimeout()
0
for indefinitely@Nullable public com.jcraft.jsch.Session getSession()
null
if not connectedCopyright © 2009-2013 jclouds. All Rights Reserved.