Class UnsubscribePacket


  • public class UnsubscribePacket
    extends java.lang.Object
    Data model of an MQTT5 UNSUBSCRIBE packet.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getSubscriptions()
      Returns a list of subscriptions that the client wishes to unsubscribe from.
      java.util.List<UserProperty> getUserProperties()
      Returns a list of MQTT5 user properties included with the packet.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getSubscriptions

        public java.util.List<java.lang.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 java.util.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.