Package 

Class MqttPingReq

    • Method Summary

      Modifier and Type Method Description
      boolean isMessageIdRequired() Returns false as message IDs are not required for MQTT PINGREQ messages.
      String getKey() Returns a key associated with the message.
      • Methods inherited from class org.eclipse.paho.client.mqttv3.internal.wire.MqttWireMessage

        createWireMessage, createWireMessage, getHeader, getMessageId, getPayload, getToken, getType, isRetryable, packetName, setDuplicate, setMessageId, setToken, toString
      • Methods inherited from class java.lang.Object

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

      • MqttPingReq

        MqttPingReq()
      • MqttPingReq

        MqttPingReq(byte info, Array<byte> variableHeader)
    • Method Detail

      • isMessageIdRequired

         boolean isMessageIdRequired()

        Returns false as message IDs are not required for MQTT PINGREQ messages.

      • getKey

         String getKey()

        Returns a key associated with the message. For most message types this will be unique. For connect, disconnect and ping only one message of this type is allowed so a fixed key will be returned