|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sshtools.j2ssh.transport.TransportProtocolState
The transport protocol can only send specific transport messages whilst in key exchange. This can happen at any time if the remote or local side send another SSH_MSG_KEX_INIT. This state object allows the transport layer to maintain its state so that it can queue messages received from attached services whilst completing the key exchange.
Constructor Summary | |
TransportProtocolState()
The Constructor |
Method Summary | |
boolean |
isReady()
Returns whether the transport protocol is ready |
void |
setReadyState(boolean isReady)
Sets the state as ready |
void |
waitForReadyState()
Waits for a ready state |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransportProtocolState()
Method Detail |
public boolean isReady()
public void waitForReadyState()
public void setReadyState(boolean isReady)
isReady
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |