io.vertx.mqtt.messages

## Interface MqttPubRecMessage

-     public interface MqttPubRecMessage

  Represents an MQTT PUBREC message

- - ### Method Summary

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

- - ### Method Detail

    - #### create

          static MqttPubRecMessage create(int messageId,
                                          MqttPubRecReasonCode code,
                                          MqttProperties properties)

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

    - #### messageId

          int messageId()

    - #### code

          MqttPubRecReasonCode code()

      Returns:
        reason code from the pubrec request

    - #### properties

          MqttProperties properties()

      Returns:
        MQTT properties

Copyright © 2023 Eclipse. All rights reserved.