All Superinterfaces:
Mqtt5Message

@DoNotImplement public interface Mqtt5PubRel extends Mqtt5Message
MQTT 5 PubRel message. This message is translated from and to an MQTT 5 PUBREL packet.
Since:
1.0
  • Method Details

    • getReasonCode

      @NotNull @NotNull Mqtt5PubRelReasonCode getReasonCode()
      Returns:
      the Reason Code of this PubRel message.
    • getReasonString

      @NotNull @NotNull Optional<MqttUtf8String> getReasonString()
      Returns:
      the optional reason string of this PubRel message.
    • getUserProperties

      @NotNull @NotNull Mqtt5UserProperties getUserProperties()
      Returns:
      the optional user properties of this PubRel message.
    • getType

      @NotNull default @NotNull Mqtt5MessageType getType()
      Specified by:
      getType in interface Mqtt5Message
      Returns:
      the type of this MQTT message.