io.vertx.mqtt.messages

## Interface MqttConnAckMessage

-     public interface MqttConnAckMessage

  Represents an MQTT CONNACK message

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `MqttConnectReturnCode` | `code()`
    `static MqttConnAckMessage` | `create(MqttConnectReturnCode code, boolean isSessionPresent)` Create a concrete instance of a Vert.x connack message
    `static MqttConnAckMessage` | `create(MqttConnectReturnCode code, boolean isSessionPresent, MqttProperties properties)` Create a concrete instance of a Vert.x connack message
    `boolean` | `isSessionPresent()`
    `MqttProperties` | `properties()`

- - ### 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:

    - #### code

          MqttConnectReturnCode code()

      Returns:
        return code from the connection request

    - #### isSessionPresent

          boolean isSessionPresent()

      Returns:
        is an old session is present

    - #### properties

          MqttProperties properties()

Copyright © 2023 Eclipse. All rights reserved.