Package 

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 Unit unsubscribe(@Path(value = topic) String topic)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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)