Class AwsIotMqttClientListener
- java.lang.Object
-
- com.amazonaws.services.iot.client.mqtt.AwsIotMqttClientListener
-
- All Implemented Interfaces:
org.eclipse.paho.client.mqttv3.MqttCallback
public class AwsIotMqttClientListener extends Object implements org.eclipse.paho.client.mqttv3.MqttCallback
This class implements listener functions for client related events from the Paho MQTT library.
-
-
Constructor Summary
Constructors Constructor Description AwsIotMqttClientListener(AbstractAwsIotClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnectionLost(Throwable arg0)voiddeliveryComplete(org.eclipse.paho.client.mqttv3.IMqttDeliveryToken arg0)voidmessageArrived(String topic, org.eclipse.paho.client.mqttv3.MqttMessage arg1)
-
-
-
Constructor Detail
-
AwsIotMqttClientListener
public AwsIotMqttClientListener(AbstractAwsIotClient client)
-
-
Method Detail
-
connectionLost
public void connectionLost(Throwable arg0)
- Specified by:
connectionLostin interfaceorg.eclipse.paho.client.mqttv3.MqttCallback
-
deliveryComplete
public void deliveryComplete(org.eclipse.paho.client.mqttv3.IMqttDeliveryToken arg0)
- Specified by:
deliveryCompletein interfaceorg.eclipse.paho.client.mqttv3.MqttCallback
-
-