Interface MqttConnAckMessage


  • public interface MqttConnAckMessage
    Represents an MQTT CONNACK message
    • Method Detail

      • create

        static MqttConnAckMessage create​(MqttConnectReturnCode code,
                                         boolean isSessionPresent)
        Create a concrete instance of a Vert.x connack message
        Parameters:
        code - return code from the connection request
        isSessionPresent - is an old session is present
        Returns:
      • create

        static MqttConnAckMessage create​(MqttConnectReturnCode code,
                                         boolean isSessionPresent,
                                         MqttProperties properties)
        Create a concrete instance of a Vert.x connack message
        Parameters:
        code - return code from the connection request
        isSessionPresent - is an old session is present
        properties - MQTT properties
        Returns:
      • isSessionPresent

        boolean isSessionPresent()
        Returns:
        is an old session is present