Class MqttPubRelMessage

java.lang.Object
io.vertx.mutiny.mqtt.messages.MqttPubRelMessage
All Implemented Interfaces:
MutinyDelegate

public class MqttPubRelMessage extends Object implements MutinyDelegate
Represents an MQTT PUBREL message

NOTE: This class has been automatically generated from the original non Mutiny-ified interface.

See Also:
  • MqttPubRelMessage
  • Field Details

  • Constructor Details

    • MqttPubRelMessage

      public MqttPubRelMessage(io.vertx.mqtt.messages.MqttPubRelMessage delegate)
      Create a new instance of MqttPubRelMessage delegating to the given (non-null) instance of MqttPubRelMessage.
    • MqttPubRelMessage

      public MqttPubRelMessage(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.mqtt.messages.MqttPubRelMessage getDelegate()
      Get the delegate instance.

      This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.

      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • create

      public static MqttPubRelMessage create(int messageId, io.vertx.mqtt.messages.codes.MqttPubRelReasonCode code, io.netty.handler.codec.mqtt.MqttProperties properties)
      Create a concrete instance of a Vert.x pubrel message
      Parameters:
      messageId - message Id
      code - return code from the pubrel
      properties - MQTT properties of the pubrel message
      Returns:
    • messageId

      public int messageId()
    • code

      public io.vertx.mqtt.messages.codes.MqttPubRelReasonCode code()
      Returns:
      reason code from the pubrel request
    • properties

      public io.netty.handler.codec.mqtt.MqttProperties properties()
      Returns:
      MQTT properties
    • newInstance

      public static MqttPubRelMessage newInstance(io.vertx.mqtt.messages.MqttPubRelMessage delegate)
      Creates a new instance of the MqttPubRelMessage.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object