Class ConnectionHandshakeCompleted

java.lang.Object
org.drasyl.handler.connection.ConnectionHandshakeCompleted
All Implemented Interfaces:
ConnectionHandshakeEvent

public class ConnectionHandshakeCompleted extends Object implements ConnectionHandshakeEvent
Signals that the handshake was completed successfully.
  • 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

      public String toString()
      Overrides:
      toString in class Object