Class MqttSubscription
- java.lang.Object
-
- de.fraunhofer.iosb.ilt.sta.service.MqttSubscription
-
public class MqttSubscription extends Object
- Author:
- Michael Jacoby
-
-
Constructor Summary
Constructors Constructor Description MqttSubscription(String topic, Consumer<org.eclipse.paho.client.mqttv3.MqttMessage> handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Consumer<org.eclipse.paho.client.mqttv3.MqttMessage>
getHandler()
String
getTopic()
void
setHandler(Consumer<org.eclipse.paho.client.mqttv3.MqttMessage> handler)
void
setTopic(String topic)
-