Class SubAckPacket
- java.lang.Object
-
- software.amazon.awssdk.crt.mqtt5.packets.SubAckPacket
-
public class SubAckPacket extends Object
Data model of an MQTT5 SUBACK packet.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubAckPacket.SubAckReasonCodeReason code inside SubAckPacket payloads.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SubAckPacket.SubAckReasonCode>getReasonCodes()Returns a list of reason codes indicating the result of each individual subscription entry in the associated SubscribePacket.StringgetReasonString()Returns additional diagnostic information about the result of the SUBSCRIBE attempt.List<UserProperty>getUserProperties()Returns a list of MQTT5 user properties included with the packet.
-
-
-
Method Detail
-
getReasonString
public String getReasonString()
Returns additional diagnostic information about the result of the SUBSCRIBE attempt. See MQTT5 Reason String- Returns:
- Additional diagnostic information about the result of the SUBSCRIBE 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<SubAckPacket.SubAckReasonCode> getReasonCodes()
Returns a list of reason codes indicating the result of each individual subscription entry in the associated SubscribePacket. See MQTT5 Suback Payload- Returns:
- list of reason codes indicating the result of each individual subscription entry in the associated SubscribePacket.
-
-