io.vertx.mqtt.messages

## Interface MqttUnsubscribeMessage

- All Superinterfaces:
    MqttMessage

      public interface MqttUnsubscribeMessage
      extends MqttMessage

  Represents an MQTT UNSUBSCRIBE message

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static MqttUnsubscribeMessage` | `create(int messageId, List<String> topics)` Create a concrete instance of a Vert.x unsubscribe message
    `static MqttUnsubscribeMessage` | `create(int messageId, List<String> topics, io.netty.handler.codec.mqtt.MqttProperties properties)` Create a concrete instance of a Vert.x unsubscribe message
    `io.netty.handler.codec.mqtt.MqttProperties` | `properties()`
    `List<String>` | `topics()`

    - ### Methods inherited from interface io.vertx.mqtt.messages.MqttMessage

      `messageId`

- - ### Method Detail

    - #### create

          static MqttUnsubscribeMessage create(int messageId,
                                               List<String> topics)

      Create a concrete instance of a Vert.x unsubscribe message
      Parameters:
        `messageId` - message identifier
        `topics` - list of topics to unsubscribe

    - #### create

          static MqttUnsubscribeMessage create(int messageId,
                                               List<String> topics,
                                               io.netty.handler.codec.mqtt.MqttProperties properties)

      Create a concrete instance of a Vert.x unsubscribe message
      Parameters:
        `messageId` - message identifier
        `topics` - list of topics to unsubscribe
        `properties` - UNSUBSCRIBE message properties

    - #### topics

          List<String> topics()

      Returns:
        List of topics to unsubscribe

    - #### properties

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

      Returns:
        MQTT properties

Copyright © 2022 Eclipse. All rights reserved.