io.vertx.mqtt.messages

## Interface MqttDisconnectMessage

-     public interface MqttDisconnectMessage

  Represents an MQTT CONNACK message

- - ### Method Summary

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

- - ### Method Detail

    - #### create

          static MqttDisconnectMessage create(MqttDisconnectReasonCode code,
                                              io.netty.handler.codec.mqtt.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

          io.netty.handler.codec.mqtt.MqttProperties properties()

      Returns:
        MQTT properties

Copyright © 2021 Eclipse. All rights reserved.