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, MqttProperties properties)` Create a concrete instance of a Vert.x unsubscribe message
    `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,
                                               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

          MqttProperties properties()

      Returns:
        MQTT properties

Copyright © 2024 Eclipse. All rights reserved.