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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Magic number used to identify legacy control protocol frames.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the count of attributes carried in this control message envelope.
    int
    Returns the integer type identifier of this control message.
  • Field Details

    • CONTROL_MAGIC_NUMBER

      static final int CONTROL_MAGIC_NUMBER
      Magic 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