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, io.netty.handler.codec.mqtt.MqttProperties properties)` Create a concrete instance of a Vert.x pubrec message
    `int` | `messageId()`
    `io.netty.handler.codec.mqtt.MqttProperties` | `properties()`

- - ### Method Detail

    - #### create

          static MqttPubRecMessage create(int messageId,
                                          MqttPubRecReasonCode code,
                                          io.netty.handler.codec.mqtt.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

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

      Returns:
        MQTT properties

Copyright © 2021 Eclipse. All rights reserved.