Package org.drasyl.handler.connection
Class ConnectionHandshakeCompleted
java.lang.Object
org.drasyl.handler.connection.ConnectionHandshakeCompleted
- All Implemented Interfaces:
ConnectionHandshakeEvent
Signals that the handshake was completed successfully.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ConnectionHandshakeCompleted
public ConnectionHandshakeCompleted(long sndNxt, long rcvNxt)
-
-
Method Details
-
sndNxt
public long sndNxt()Returns the state that has been shared with the remote peer.- Returns:
- state that has been shared with the remote peer
-
rcvNxt
public long rcvNxt()Returns the state that has been received from the remote peer.- Returns:
- state that has been received from the remote peer
-
toString
-