Interface ControlMessage
- All Known Implementing Classes:
FirstHandshakeSimpleClientMessage, HeartbeatMessage, InvalidAttributesMessage, SecondHandshakeSimpleServerMessage
public interface ControlMessage
Interface representing legacy control and handshake messages exchanged over legacy channels.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMagic number used to identify legacy control protocol frames. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the count of attributes carried in this control message envelope.intReturns the integer type identifier of this control message.
-
Field Details
-
CONTROL_MAGIC_NUMBER
static final int CONTROL_MAGIC_NUMBERMagic number used to identify legacy control protocol frames.- See Also:
-
-
Method Details
-
getTypeInt
int getTypeInt()Returns the integer type identifier of this control message.- Returns:
- the message type code
-
attributeMapSize
int attributeMapSize()Returns the count of attributes carried in this control message envelope.- Returns:
- the attribute map size
-