Class UnsubAckPacket

java.lang.Object
software.amazon.awssdk.crt.mqtt5.packets.UnsubAckPacket

public class UnsubAckPacket extends Object
Data model of an MQTT5 UNSUBACK packet.
  • Method Details

    • getReasonString

      public String getReasonString()
      Returns additional diagnostic information about the result of the UNSUBSCRIBE attempt. See MQTT5 Reason String
      Returns:
      Additional diagnostic information about the result of the UNSUBSCRIBE attempt.
    • getUserProperties

      public List<UserProperty> getUserProperties()
      Returns a list of MQTT5 user properties included with the packet. See MQTT5 User Property
      Returns:
      List of MQTT5 user properties included with the packet.
    • getReasonCodes

      public List<UnsubAckPacket.UnsubAckReasonCode> getReasonCodes()
      Returns a list of reason codes indicating the result of unsubscribing from each individual topic filter entry in the associated UNSUBSCRIBE packet. See MQTT5 Unsuback Payload
      Returns:
      A list of reason codes indicating the result of unsubscribing from each individual topic filter entry in the associated UNSUBSCRIBE packet.