Package 

Class MqttSubscribe

    • Constructor Summary

      Constructors 
      Constructor Description
      MqttSubscribe(byte info, Array<byte> data) Constructor for an on the wire MQTT subscribe message
      MqttSubscribe(Array<String> names, Array<int> qos) Constructor for an on the wire MQTT subscribe message
    • Method Summary

      Modifier and Type Method Description
      Array<String> getNames()
      Array<int> getQos()
      int getCount()
      String toString()
      Array<byte> getPayload() Sub-classes should override this method to supply the payload bytes.
      boolean isRetryable()
      • Methods inherited from class org.eclipse.paho.client.mqttv3.internal.wire.MqttWireMessage

        createWireMessage, createWireMessage, getHeader, getKey, getMessageId, getToken, getType, isMessageIdRequired, packetName, setDuplicate, setMessageId, setToken
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MqttSubscribe

        MqttSubscribe(byte info, Array<byte> data)
        Constructor for an on the wire MQTT subscribe message
      • MqttSubscribe

        MqttSubscribe(Array<String> names, Array<int> qos)
        Constructor for an on the wire MQTT subscribe message
        Parameters:
        names - - one or more topics to subscribe to
        qos - - the max QoS that each each topic will be subscribed at