Class MqttUnsubAckMessage

java.lang.Object
io.vertx.mutiny.mqtt.messages.MqttUnsubAckMessage
All Implemented Interfaces:
MutinyDelegate, MqttMessage

public class MqttUnsubAckMessage extends Object implements MqttMessage, MutinyDelegate
Represents an MQTT UNSUBACK message

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

See Also:
  • MqttUnsubAckMessage
  • Field Details

  • Constructor Details

    • MqttUnsubAckMessage

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

      public MqttUnsubAckMessage(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.mqtt.messages.MqttUnsubAckMessage 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 MqttMessage
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • create

      public static MqttUnsubAckMessage create(int messageId, List<Short> reasonCodes, io.netty.handler.codec.mqtt.MqttProperties properties)
      Create a concrete instance of a Vert.x unsuback message
      Parameters:
      messageId - message identifier
      reasonCodes - list of reason codes
      properties - MQTT properties
      Returns:
    • reasonCodes

      public List<Short> reasonCodes()
      Returns:
      list of reason codes
    • properties

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

      public int messageId()
      Specified by:
      messageId in interface MqttMessage
      Returns:
      Message identifier
    • newInstance

      public static MqttUnsubAckMessage newInstance(io.vertx.mqtt.messages.MqttUnsubAckMessage delegate)
      Creates a new instance of the MqttUnsubAckMessage.
    • 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