Package io.vertx.mqtt.messages

## Interface MqttDisconnectMessage

-     public interface MqttDisconnectMessage

  Represents an MQTT CONNACK message

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `MqttDisconnectReasonCode` | `code()` |
    `static MqttDisconnectMessage` | `create​(MqttDisconnectReasonCode code, MqttProperties properties)` | Create a concrete instance of a Vert.x disconnect message
    `MqttProperties` | `properties()` |

- - ### Method Detail

    - #### create

          static MqttDisconnectMessage create​(MqttDisconnectReasonCode code,
                                              MqttProperties properties)

      Create a concrete instance of a Vert.x disconnect message
      Parameters:
        `code` - return code from the disconnect request
        `properties` - MQTT properties of the disconnect message
      Returns:

    - #### code

          MqttDisconnectReasonCode code()

      Returns:
        return code from the connection request

    - #### properties

          MqttProperties properties()

      Returns:
        MQTT properties