Class PushCallback
java.lang.Object
org.rockhopper.smarthome.wes.wes2mqtt.PushCallback
- All Implemented Interfaces:
org.eclipse.paho.client.mqttv3.MqttCallback
@Component
public class PushCallback
extends Object
implements org.eclipse.paho.client.mqttv3.MqttCallback
MQTT Listen Callback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnectionLost(Throwable cause) voiddeliveryComplete(org.eclipse.paho.client.mqttv3.IMqttDeliveryToken iMqttDeliveryToken) voidmessageArrived(String topic, org.eclipse.paho.client.mqttv3.MqttMessage mqttMessage)
-
Constructor Details
-
PushCallback
public PushCallback()
-
-
Method Details
-
connectionLost
- Specified by:
connectionLostin interfaceorg.eclipse.paho.client.mqttv3.MqttCallback
-
messageArrived
public void messageArrived(String topic, org.eclipse.paho.client.mqttv3.MqttMessage mqttMessage) throws Exception - Specified by:
messageArrivedin interfaceorg.eclipse.paho.client.mqttv3.MqttCallback- Throws:
Exception
-
deliveryComplete
public void deliveryComplete(org.eclipse.paho.client.mqttv3.IMqttDeliveryToken iMqttDeliveryToken) - Specified by:
deliveryCompletein interfaceorg.eclipse.paho.client.mqttv3.MqttCallback
-