-
public interface MqttCourierService
-
-
Method Summary
Modifier and Type Method Description abstract Observable<IAMMessage>subscribe(@Path(value = topic) String topic)abstract Observable<MqttMessage>generalSubscribe(@Path(value = topic) String topic)abstract Unitunsubscribe(@Path(value = topic) String topic)-
-
Method Detail
-
subscribe
@Subscribe(topic = {topic}, qos = QoS.TWO) abstract Observable<IAMMessage> subscribe(@Path(value = topic) String topic)
-
generalSubscribe
@Subscribe(topic = {topic}, qos = QoS.TWO) abstract Observable<MqttMessage> generalSubscribe(@Path(value = topic) String topic)
-
unsubscribe
@Unsubscribe(topics = {{topic}}) abstract Unit unsubscribe(@Path(value = topic) String topic)
-
-
-
-