Class PushCallback

java.lang.Object
org.rockhopper.smarhome.hsb.server.PushCallback
All Implemented Interfaces:
org.eclipse.paho.client.mqttv3.MqttCallback

public class PushCallback extends Object implements org.eclipse.paho.client.mqttv3.MqttCallback
MQTT Listen Callback
  • Constructor Details

    • PushCallback

      public PushCallback()
  • Method Details

    • connectionLost

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

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

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