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 -
Method Summary
Modifier and TypeMethodDescriptionvoidconnectionLost(Throwable arg0) voiddeliveryComplete(org.eclipse.paho.client.mqttv3.IMqttDeliveryToken arg0) voidmessageArrived(String topic, org.eclipse.paho.client.mqttv3.MqttMessage arg1)
-
Constructor Details
-
AwsIotMqttClientListener
-
-
Method Details
-
connectionLost
- 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
-
messageArrived
public void messageArrived(String topic, org.eclipse.paho.client.mqttv3.MqttMessage arg1) throws Exception - Specified by:
messageArrivedin interfaceorg.eclipse.paho.client.mqttv3.MqttCallback- Throws:
Exception
-