Class 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 Detail

    • Method Detail

      • connectionLost

        public void connectionLost​(Throwable arg0)
        Specified by:
        connectionLost in interface org.eclipse.paho.client.mqttv3.MqttCallback
      • deliveryComplete

        public void deliveryComplete​(org.eclipse.paho.client.mqttv3.IMqttDeliveryToken arg0)
        Specified by:
        deliveryComplete in interface org.eclipse.paho.client.mqttv3.MqttCallback
      • messageArrived

        public void messageArrived​(String topic,
                                   org.eclipse.paho.client.mqttv3.MqttMessage arg1)
                            throws Exception
        Specified by:
        messageArrived in interface org.eclipse.paho.client.mqttv3.MqttCallback
        Throws:
        Exception