Package 

Class MqttDisconnect

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public static String KEY
    • Method Summary

      Modifier and Type Method Description
      boolean isMessageIdRequired() Returns whether or not this message needs to include a message ID.
      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

      • MqttDisconnect

        MqttDisconnect()
      • MqttDisconnect

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

      • isMessageIdRequired

         boolean isMessageIdRequired()

        Returns whether or not this message needs to include a message ID.

      • 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