Class PubAckPacket

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

public class PubAckPacket extends Object
Data model of an MQTT5 PUBACK packet
  • Method Details

    • getReasonCode

      public PubAckPacket.PubAckReasonCode getReasonCode()
      Returns success indicator or failure reason for the associated PublishPacket. See MQTT5 PUBACK Reason Code
      Returns:
      Success indicator or failure reason for the associated PublishPacket.
    • getReasonString

      public String getReasonString()
      Returns additional diagnostic information about the result of the PUBLISH attempt. See MQTT5 Reason String
      Returns:
      Additional diagnostic information about the result of the PUBLISH 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.