Class PubAckPacket
- java.lang.Object
-
- software.amazon.awssdk.crt.mqtt5.packets.PubAckPacket
-
public class PubAckPacket extends Object
Data model of an MQTT5 PUBACK packet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PubAckPacket.PubAckReasonCode
Reason code inside PubAckPackets that indicates the result of the associated PUBLISH request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PubAckPacket.PubAckReasonCode
getReasonCode()
Returns success indicator or failure reason for the associated PublishPacket.String
getReasonString()
Returns additional diagnostic information about the result of the PUBLISH attempt.List<UserProperty>
getUserProperties()
Returns a list of MQTT5 user properties included with the packet.
-
-
-
Method Detail
-
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.
-
-