Package 

Interface PublishAndDeliveryCallback

    • Method Summary

      Modifier and Type Method Description
      abstract void deliveryComplete(String clientId, int messageId) The message was delivered successfully, and the ack from the server was received.
      abstract void publishComplete(String clientId, int messageId, int protocol) The message was published successfully, it was sent from the client.
      • Methods inherited from class java.lang.Object

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

      • deliveryComplete

         abstract void deliveryComplete(String clientId, int messageId)

        The message was delivered successfully, and the ack from the server was received.

        Parameters:
        clientId - MQTT clientId, the unique id of mqtt connection
        messageId - current message id.
      • publishComplete

         abstract void publishComplete(String clientId, int messageId, int protocol)

        The message was published successfully, it was sent from the client.

        Parameters:
        clientId - MQTT clientId, the unique id of mqtt connection
        messageId - current message id.