接口 MQTTClientListener

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      void connectionLost​(org.eclipse.paho.client.mqttv3.MqttClient client, Throwable cause)  
      void deliveryComplete​(org.eclipse.paho.client.mqttv3.MqttClient client, org.eclipse.paho.client.mqttv3.IMqttDeliveryToken token)  
      void messageArrived​(org.eclipse.paho.client.mqttv3.MqttClient client, String topic, org.eclipse.paho.client.mqttv3.MqttMessage message)  
    • 方法详细资料

      • connectionLost

        void connectionLost​(org.eclipse.paho.client.mqttv3.MqttClient client,
                            Throwable cause)
      • messageArrived

        void messageArrived​(org.eclipse.paho.client.mqttv3.MqttClient client,
                            String topic,
                            org.eclipse.paho.client.mqttv3.MqttMessage message)
                     throws Exception
        抛出:
        Exception
      • deliveryComplete

        void deliveryComplete​(org.eclipse.paho.client.mqttv3.MqttClient client,
                              org.eclipse.paho.client.mqttv3.IMqttDeliveryToken token)