Class PubAckPacket


  • public class PubAckPacket
    extends java.lang.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 Detail

      • getReasonString

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