public interface MqttCallbackExtended extends MqttCallback
MqttCallback to allow new callbacks
without breaking the API for existing applications.
Classes implementing this interface can be registered on
both types of client: IMqttClient.setCallback(MqttCallback)
and IMqttAsyncClient.setCallback(MqttCallback)| Modifier and Type | Method and Description |
|---|---|
void |
connectComplete(boolean reconnect,
String serverURI)
Called when the connection to the server is completed successfully.
|
connectionLost, deliveryComplete, messageArrivedvoid connectComplete(boolean reconnect,
String serverURI)
reconnect - If true, the connection was the result of automatic reconnect.serverURI - The server URI that the connection was made to.Copyright © 2018 Eclipse Paho. All Rights Reserved.