Class PahoMqttV3TransportConnector.Callback

  • All Implemented Interfaces:
    org.eclipse.paho.client.mqttv3.MqttCallback
    Enclosing class:
    PahoMqttV3TransportConnector

    private class PahoMqttV3TransportConnector.Callback
    extends java.lang.Object
    implements org.eclipse.paho.client.mqttv3.MqttCallback
    The internal reception callback.
    Author:
    Holger Eichelberger, SSE
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Callback()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void connectionLost​(java.lang.Throwable cause)  
      void deliveryComplete​(org.eclipse.paho.client.mqttv3.IMqttDeliveryToken token)  
      void messageArrived​(java.lang.String topic, org.eclipse.paho.client.mqttv3.MqttMessage message)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Callback

        private Callback()
    • Method Detail

      • connectionLost

        public void connectionLost​(java.lang.Throwable cause)
        Specified by:
        connectionLost in interface org.eclipse.paho.client.mqttv3.MqttCallback
      • messageArrived

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

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