-
public interface PublishAndDeliveryCallback
Message delivery status listener.
-
-
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. -
-
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 connectionmessageId
- 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 connectionmessageId
- current message id.
-
-
-
-