io.vertx.mqtt.messages

## Interface MqttPubCompMessage

-     public interface MqttPubCompMessage

  Represents an MQTT PUBCOMP message

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `MqttPubCompReasonCode` | `code()`
    `static MqttPubCompMessage` | `create(int messageId, MqttPubCompReasonCode code, MqttProperties properties)` Create a concrete instance of a Vert.x pubcomp message
    `int` | `messageId()`
    `MqttProperties` | `properties()`

- - ### Method Detail

    - #### create

          static MqttPubCompMessage create(int messageId,
                                           MqttPubCompReasonCode code,
                                           MqttProperties properties)

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

    - #### messageId

          int messageId()

    - #### code

          MqttPubCompReasonCode code()

      Returns:
        reason code from the pubcomp message

    - #### properties

          MqttProperties properties()

      Returns:
        MQTT properties

Copyright © 2025 Eclipse. All rights reserved.