Package | Description |
---|---|
org.eclipse.paho.client.mqttv3 |
Contains a programming interface enabling applications to communicate with an MQTT server.
|
org.eclipse.paho.client.mqttv3.internal |
Modifier and Type | Method and Description |
---|---|
IMqttActionListener |
IMqttToken.getActionCallback()
Return the async listener for this token.
|
IMqttActionListener |
MqttToken.getActionCallback() |
Modifier and Type | Method and Description |
---|---|
IMqttToken |
MqttAsyncClient.checkPing(Object userContext,
IMqttActionListener callback) |
IMqttToken |
MqttAsyncClient.connect(MqttConnectOptions options,
Object userContext,
IMqttActionListener callback) |
IMqttToken |
IMqttAsyncClient.connect(MqttConnectOptions options,
Object userContext,
IMqttActionListener callback)
Connects to an MQTT server using the specified options.
|
IMqttToken |
MqttAsyncClient.connect(Object userContext,
IMqttActionListener callback) |
IMqttToken |
IMqttAsyncClient.connect(Object userContext,
IMqttActionListener callback)
Connects to an MQTT server using the default options.
|
IMqttToken |
MqttAsyncClient.disconnect(long quiesceTimeout,
Object userContext,
IMqttActionListener callback) |
IMqttToken |
IMqttAsyncClient.disconnect(long quiesceTimeout,
Object userContext,
IMqttActionListener callback)
Disconnects from the server.
|
IMqttToken |
MqttAsyncClient.disconnect(Object userContext,
IMqttActionListener callback) |
IMqttToken |
IMqttAsyncClient.disconnect(Object userContext,
IMqttActionListener callback)
Disconnects from the server.
|
IMqttDeliveryToken |
MqttAsyncClient.publish(String topic,
byte[] payload,
int qos,
boolean retained,
Object userContext,
IMqttActionListener callback) |
IMqttDeliveryToken |
IMqttAsyncClient.publish(String topic,
byte[] payload,
int qos,
boolean retained,
Object userContext,
IMqttActionListener callback)
Publishes a message to a topic on the server.
|
IMqttDeliveryToken |
MqttAsyncClient.publish(String topic,
MqttMessage message,
Object userContext,
IMqttActionListener callback) |
IMqttDeliveryToken |
IMqttAsyncClient.publish(String topic,
MqttMessage message,
Object userContext,
IMqttActionListener callback)
Publishes a message to a topic on the server.
|
void |
IMqttToken.setActionCallback(IMqttActionListener listener)
Register a listener to be notified when an action completes.
|
void |
MqttToken.setActionCallback(IMqttActionListener listener) |
IMqttToken |
MqttAsyncClient.subscribe(String[] topicFilters,
int[] qos,
Object userContext,
IMqttActionListener callback) |
IMqttToken |
IMqttAsyncClient.subscribe(String[] topicFilters,
int[] qos,
Object userContext,
IMqttActionListener callback)
Subscribes to multiple topics, each of which may include wildcards.
|
IMqttToken |
MqttAsyncClient.subscribe(String topicFilter,
int qos,
Object userContext,
IMqttActionListener callback) |
IMqttToken |
IMqttAsyncClient.subscribe(String topicFilter,
int qos,
Object userContext,
IMqttActionListener callback)
Subscribe to a topic, which may include wildcards.
|
IMqttToken |
MqttAsyncClient.unsubscribe(String[] topicFilters,
Object userContext,
IMqttActionListener callback) |
IMqttToken |
IMqttAsyncClient.unsubscribe(String[] topicFilters,
Object userContext,
IMqttActionListener callback)
Requests the server unsubscribe the client from one or more topics.
|
IMqttToken |
MqttAsyncClient.unsubscribe(String topicFilter,
Object userContext,
IMqttActionListener callback) |
IMqttToken |
IMqttAsyncClient.unsubscribe(String topicFilter,
Object userContext,
IMqttActionListener callback)
Requests the server unsubscribe the client from a topics.
|
Modifier and Type | Class and Description |
---|---|
class |
ConnectActionListener
This class handles the connection of the AsyncClient to one of the available URLs.
|
Modifier and Type | Method and Description |
---|---|
IMqttActionListener |
Token.getActionCallback() |
Modifier and Type | Method and Description |
---|---|
void |
Token.setActionCallback(IMqttActionListener listener) |
Constructor and Description |
---|
ConnectActionListener(MqttAsyncClient client,
MqttClientPersistence persistence,
ClientComms comms,
MqttConnectOptions options,
MqttToken userToken,
Object userContext,
IMqttActionListener userCallback) |
Copyright © 2018 Eclipse Paho. All rights reserved.