Package | Description |
---|---|
org.eclipse.paho.client.mqttv3 |
Contains a programming interface enabling applications to communicate with an MQTT server.
|
Modifier and Type | Class and Description |
---|---|
class |
MqttDeliveryToken
Provides a mechanism to track the delivery progress of a message.
|
Modifier and Type | Method and Description |
---|---|
IMqttDeliveryToken[] |
MqttClient.getPendingDeliveryTokens() |
IMqttDeliveryToken[] |
IMqttClient.getPendingDeliveryTokens()
Returns the delivery tokens for any outstanding publish operations.
|
IMqttDeliveryToken[] |
MqttAsyncClient.getPendingDeliveryTokens() |
IMqttDeliveryToken[] |
IMqttAsyncClient.getPendingDeliveryTokens()
Returns the delivery tokens for any outstanding publish operations.
|
IMqttDeliveryToken |
MqttAsyncClient.publish(java.lang.String topic,
byte[] payload,
int qos,
boolean retained) |
IMqttDeliveryToken |
IMqttAsyncClient.publish(java.lang.String topic,
byte[] payload,
int qos,
boolean retained)
Publishes a message to a topic on the server.
|
IMqttDeliveryToken |
MqttAsyncClient.publish(java.lang.String topic,
byte[] payload,
int qos,
boolean retained,
java.lang.Object userContext,
IMqttActionListener callback) |
IMqttDeliveryToken |
IMqttAsyncClient.publish(java.lang.String topic,
byte[] payload,
int qos,
boolean retained,
java.lang.Object userContext,
IMqttActionListener callback)
Publishes a message to a topic on the server.
|
IMqttDeliveryToken |
MqttAsyncClient.publish(java.lang.String topic,
MqttMessage message) |
IMqttDeliveryToken |
IMqttAsyncClient.publish(java.lang.String topic,
MqttMessage message)
Publishes a message to a topic on the server.
|
IMqttDeliveryToken |
MqttAsyncClient.publish(java.lang.String topic,
MqttMessage message,
java.lang.Object userContext,
IMqttActionListener callback) |
IMqttDeliveryToken |
IMqttAsyncClient.publish(java.lang.String topic,
MqttMessage message,
java.lang.Object userContext,
IMqttActionListener callback)
Publishes a message to a topic on the server.
|
Modifier and Type | Method and Description |
---|---|
void |
MqttCallback.deliveryComplete(IMqttDeliveryToken token)
Called when delivery for a message has been completed, and all
acknowledgments have been received.
|