Class UnsubscribePacket
- java.lang.Object
-
- software.amazon.awssdk.crt.mqtt5.packets.UnsubscribePacket
-
public class UnsubscribePacket extends Object
Data model of an MQTT5 UNSUBSCRIBE packet.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UnsubscribePacket.UnsubscribePacketBuilder
A class to that allows for the creation of a UnsubscribePacket.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getSubscriptions()
Returns a list of subscriptions that the client wishes to unsubscribe from.List<UserProperty>
getUserProperties()
Returns a list of MQTT5 user properties included with the packet.
-
-
-
Method Detail
-
getSubscriptions
public List<String> getSubscriptions()
Returns a list of subscriptions that the client wishes to unsubscribe from.- Returns:
- List of subscriptions that the client wishes to unsubscribe from.
-
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.
-
-