java.lang.Object
org.yamcs.mqtt.MqttUtils
A set of utilities used by the MQTT packet and frame links to avoid code duplication
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddoDisable(org.eclipse.paho.client.mqttv3.MqttAsyncClient client) static voiddoStop(org.eclipse.paho.client.mqttv3.MqttAsyncClient client, MqttUtils.NotifyStoppedCallback stopCb, MqttUtils.NotifyFailedCallback failCb)
-
Constructor Details
-
MqttUtils
public MqttUtils()
-
-
Method Details
-
doDisable
public static void doDisable(org.eclipse.paho.client.mqttv3.MqttAsyncClient client) throws org.eclipse.paho.client.mqttv3.MqttException - Throws:
org.eclipse.paho.client.mqttv3.MqttException
-
doStop
public static void doStop(org.eclipse.paho.client.mqttv3.MqttAsyncClient client, MqttUtils.NotifyStoppedCallback stopCb, MqttUtils.NotifyFailedCallback failCb)
-