Package org.apache.cassandra.net
Class HandshakeProtocol
- java.lang.Object
-
- org.apache.cassandra.net.HandshakeProtocol
-
public class HandshakeProtocol extends java.lang.ObjectMessages for the handshake phase of the internode protocol. The modern handshake is composed of 2 messages: Initiate and AcceptThe 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.
-
-
Constructor Summary
Constructors Constructor Description HandshakeProtocol()
-