Class SecondHandshakeSimpleServerMessage

java.lang.Object
pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages.SecondHandshakeSimpleServerMessage
All Implemented Interfaces:
ControlMessage

public class SecondHandshakeSimpleServerMessage extends Object implements ControlMessage
Handshake response message sent by a legacy simple server acknowledging connection setup.
  • Field Details

    • INSTANCE

      public static final SecondHandshakeSimpleServerMessage INSTANCE
      Singleton instance of SecondHandshakeSimpleServerMessage.
    • TYPE_INT

      public static final int TYPE_INT
      Integer type identifier for the second server handshake message.
      See Also:
  • Method Details

    • getTypeInt

      public int getTypeInt()
      Description copied from interface: ControlMessage
      Returns the integer type identifier of this control message.
      Specified by:
      getTypeInt in interface ControlMessage
      Returns:
      the message type code
    • attributeMapSize

      public int attributeMapSize()
      Description copied from interface: ControlMessage
      Returns the count of attributes carried in this control message envelope.
      Specified by:
      attributeMapSize in interface ControlMessage
      Returns:
      the attribute map size