|
|||||||||
| 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 SSHClientUserpublic int getSrvPort()
SSHClientUser
getSrvPort in interface SSHClientUser
public NetworkConnection getProxyConnection()
throws java.io.IOException
SSHClientUser
getProxyConnection in interface SSHClientUserjava.io.IOExceptionpublic java.lang.String getDisplay()
SSHClientUser
getDisplay in interface SSHClientUserpublic int getMaxPacketSz()
SSHClientUser
getMaxPacketSz in interface SSHClientUserpublic int getAliveInterval()
SSHClientUser
getAliveInterval in interface SSHClientUserpublic int getCompressionLevel()
SSHClientUser
getCompressionLevel in interface SSHClientUserpublic int getConnectTimeout()
SSHClientUser
getConnectTimeout in interface SSHClientUserpublic int getHelloTimeout()
SSHClientUser
getHelloTimeout in interface SSHClientUserpublic int getKexTimeout()
SSHClientUser
getKexTimeout in interface SSHClientUserpublic boolean wantX11Forward()
SSHClientUser
wantX11Forward in interface SSHClientUserpublic boolean wantPTY()
SSHClientUser
wantPTY in interface SSHClientUserpublic SSHInteractor getInteractor()
SSHClientUser
getInteractor in interface SSHClientUser
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||