Class MqttSubAckPayload


  • public class MqttSubAckPayload
    extends java.lang.Object
    Payload of the MqttSubAckMessage
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.lang.Integer> reasonCodes  
    • Constructor Summary

      Constructors 
      Constructor Description
      MqttSubAckPayload​(int... reasonCodes)  
      MqttSubAckPayload​(java.lang.Iterable<java.lang.Integer> reasonCodes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Integer> grantedQoSLevels()  
      java.util.List<java.lang.Integer> reasonCodes()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • reasonCodes

        private final java.util.List<java.lang.Integer> reasonCodes
    • Constructor Detail

      • MqttSubAckPayload

        public MqttSubAckPayload​(int... reasonCodes)
      • MqttSubAckPayload

        public MqttSubAckPayload​(java.lang.Iterable<java.lang.Integer> reasonCodes)
    • Method Detail

      • grantedQoSLevels

        public java.util.List<java.lang.Integer> grantedQoSLevels()
      • reasonCodes

        public java.util.List<java.lang.Integer> reasonCodes()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object