Package | Description |
---|---|
org.eclipse.paho.client.eclipse.view | |
org.eclipse.paho.client.mqttv3 |
Contains a programming interface enabling applications to communicate with an MQTT server.
|
org.eclipse.paho.client.mqttv3.internal | |
org.eclipse.paho.client.mqttv3.internal.wire | |
org.eclipse.paho.sample.utility |
Modifier and Type | Method and Description |
---|---|
void |
MqttClientView.messageArrived(String topic,
MqttMessage message) |
Modifier and Type | Method and Description |
---|---|
MqttMessage |
MqttDeliveryToken.getMessage()
Returns the message associated with this token.
|
MqttMessage |
IMqttDeliveryToken.getMessage()
Returns the message associated with this token.
|
MqttMessage |
MqttConnectOptions.getWillMessage()
Returns the message to be sent as last will and testament (LWT).
|
Modifier and Type | Method and Description |
---|---|
void |
MqttCallback.messageArrived(String topic,
MqttMessage message)
This method is called when a message arrives from the server.
|
MqttDeliveryToken |
MqttTopic.publish(MqttMessage message)
Publishes the specified message to this topic, but does not wait for delivery
of the message to complete.
|
IMqttDeliveryToken |
IMqttAsyncClient.publish(String topic,
MqttMessage message)
Publishes a message to a topic on the server.
|
IMqttDeliveryToken |
MqttAsyncClient.publish(String topic,
MqttMessage message) |
void |
MqttClient.publish(String topic,
MqttMessage message) |
void |
IMqttClient.publish(String topic,
MqttMessage message)
Publishes a message to a topic on the server.
|
IMqttDeliveryToken |
IMqttAsyncClient.publish(String topic,
MqttMessage message,
Object userContext,
IMqttActionListener callback)
Publishes a message to a topic on the server.
|
IMqttDeliveryToken |
MqttAsyncClient.publish(String topic,
MqttMessage message,
Object userContext,
IMqttActionListener callback) |
protected void |
MqttDeliveryToken.setMessage(MqttMessage msg) |
protected void |
MqttConnectOptions.setWill(String topic,
MqttMessage msg,
int qos,
boolean retained)
Sets up the will information, based on the supplied parameters.
|
Modifier and Type | Field and Description |
---|---|
protected MqttMessage |
Token.message |
Modifier and Type | Method and Description |
---|---|
MqttMessage |
Token.getMessage() |
Modifier and Type | Method and Description |
---|---|
void |
Token.setMessage(MqttMessage msg) |
Modifier and Type | Class and Description |
---|---|
class |
MqttReceivedMessage |
Modifier and Type | Method and Description |
---|---|
MqttMessage |
MqttPublish.getMessage() |
Modifier and Type | Method and Description |
---|---|
protected static byte[] |
MqttPublish.encodePayload(MqttMessage message) |
Constructor and Description |
---|
MqttConnect(String clientId,
int MqttVersion,
boolean cleanSession,
int keepAliveInterval,
String userName,
char[] password,
MqttMessage willMessage,
String willDestination) |
MqttPublish(String name,
MqttMessage message) |
Modifier and Type | Method and Description |
---|---|
void |
MQTTFrame.messageArrived(String topic,
MqttMessage message)
The method is part of the MqttCallback interface
Pass the message as is to the SubPanel object which will display it. |
Copyright © 2017 Eclipse Paho. All rights reserved.