Class 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.
    • Method Detail

      • onSuccess

        public void onSuccess​(org.eclipse.paho.client.mqttv3.IMqttToken arg0)
        Specified by:
        onSuccess in interface org.eclipse.paho.client.mqttv3.IMqttActionListener
      • onFailure

        public void onFailure​(org.eclipse.paho.client.mqttv3.IMqttToken arg0,
                              Throwable arg1)
        Specified by:
        onFailure in interface org.eclipse.paho.client.mqttv3.IMqttActionListener