|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindbright.ssh.SSHClientUserAdaptor
public class SSHClientUserAdaptor
Field Summary | |
---|---|
protected SSHInteractor |
interactor
|
protected java.lang.String |
sshHost
|
protected int |
sshPort
|
Constructor Summary | |
---|---|
SSHClientUserAdaptor(java.lang.String server)
|
|
SSHClientUserAdaptor(java.lang.String server,
int port)
|
Method Summary | |
---|---|
int |
getAliveInterval()
Get alive interval (0 = do not send keepalive packets) |
int |
getCompressionLevel()
Get desired level of compression |
int |
getConnectTimeout()
Timeout when connecting to server (in seconds) |
java.lang.String |
getDisplay()
Get the display for X11 forwardings |
int |
getHelloTimeout()
Timeout when waiting for initial greeting from server (in seconds) |
SSHInteractor |
getInteractor()
Get interactor which should handle the authentication phase |
int |
getKexTimeout()
Timeout of key exchange (in seconds) |
int |
getMaxPacketSz()
get maximum packet size (0 = no limit) |
NetworkConnection |
getProxyConnection()
Return a connection to the server. |
java.lang.String |
getSrvHost()
Get host to connect to |
int |
getSrvPort()
Get port number to connect to |
boolean |
wantPTY()
Return true if we need a PTY on the server |
boolean |
wantX11Forward()
Return true if X11 forwarding is desired |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String sshHost
protected int sshPort
protected SSHInteractor interactor
Constructor Detail |
---|
public SSHClientUserAdaptor(java.lang.String server, int port)
public SSHClientUserAdaptor(java.lang.String server)
Method Detail |
---|
public java.lang.String getSrvHost()
SSHClientUser
getSrvHost
in interface SSHClientUser
public int getSrvPort()
SSHClientUser
getSrvPort
in interface SSHClientUser
public NetworkConnection getProxyConnection() throws java.io.IOException
SSHClientUser
getProxyConnection
in interface SSHClientUser
java.io.IOException
public java.lang.String getDisplay()
SSHClientUser
getDisplay
in interface SSHClientUser
public int getMaxPacketSz()
SSHClientUser
getMaxPacketSz
in interface SSHClientUser
public int getAliveInterval()
SSHClientUser
getAliveInterval
in interface SSHClientUser
public int getCompressionLevel()
SSHClientUser
getCompressionLevel
in interface SSHClientUser
public int getConnectTimeout()
SSHClientUser
getConnectTimeout
in interface SSHClientUser
public int getHelloTimeout()
SSHClientUser
getHelloTimeout
in interface SSHClientUser
public int getKexTimeout()
SSHClientUser
getKexTimeout
in interface SSHClientUser
public boolean wantX11Forward()
SSHClientUser
wantX11Forward
in interface SSHClientUser
public boolean wantPTY()
SSHClientUser
wantPTY
in interface SSHClientUser
public SSHInteractor getInteractor()
SSHClientUser
getInteractor
in interface SSHClientUser
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |