Class HandshakeProtocol


  • public class HandshakeProtocol
    extends java.lang.Object
    Messages for the handshake phase of the internode protocol. The modern handshake is composed of 2 messages: Initiate and Accept

    The legacy handshake is composed of 3 messages, the first being sent by the initiator of the connection. The other side then answer with the 2nd message. At that point, if a version mismatch is detected by the connection initiator, it will simply disconnect and reconnect with a more appropriate version. But if the version is acceptable, the connection initiator sends the third message of the protocol, after which it considers the connection ready.

    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HandshakeProtocol

        public HandshakeProtocol()