Class AwsIotMqttConnectionListener
java.lang.Object
com.amazonaws.services.iot.client.mqtt.AwsIotMqttConnectionListener
- All Implemented Interfaces:
org.eclipse.paho.client.mqttv3.IMqttActionListener
public class AwsIotMqttConnectionListener
extends Object
implements org.eclipse.paho.client.mqttv3.IMqttActionListener
This class implements listener functions for the connection events from the
Paho MQTT library.
-
Constructor Summary
ConstructorsConstructorDescriptionAwsIotMqttConnectionListener(AbstractAwsIotClient client, boolean isConnect, AwsIotMessageCallback userCallback) -
Method Summary
-
Constructor Details
-
AwsIotMqttConnectionListener
public AwsIotMqttConnectionListener(AbstractAwsIotClient client, boolean isConnect, AwsIotMessageCallback userCallback)
-
-
Method Details
-
onSuccess
public void onSuccess(org.eclipse.paho.client.mqttv3.IMqttToken arg0) - Specified by:
onSuccessin interfaceorg.eclipse.paho.client.mqttv3.IMqttActionListener
-
onFailure
- Specified by:
onFailurein interfaceorg.eclipse.paho.client.mqttv3.IMqttActionListener
-