Class UnsubAckPacket


  • public class UnsubAckPacket
    extends java.lang.Object
    Data model of an MQTT5 UNSUBACK packet.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  UnsubAckPacket.UnsubAckReasonCode
      Reason codes inside UnsubAckPacket payloads that specify the results for each topic filter in the associated UnsubscribePacket.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<UnsubAckPacket.UnsubAckReasonCode> getReasonCodes()
      Returns a list of reason codes indicating the result of unsubscribing from each individual topic filter entry in the associated UNSUBSCRIBE packet.
      java.lang.String getReasonString()
      Returns additional diagnostic information about the result of the UNSUBSCRIBE attempt.
      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

      • getReasonString

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

        public java.util.List<UnsubAckPacket.UnsubAckReasonCode> getReasonCodes()
        Returns a list of reason codes indicating the result of unsubscribing from each individual topic filter entry in the associated UNSUBSCRIBE packet. See MQTT5 Unsuback Payload
        Returns:
        A list of reason codes indicating the result of unsubscribing from each individual topic filter entry in the associated UNSUBSCRIBE packet.