Package cool.mqtt.hooks
Interface MqttSubscription
-
public interface MqttSubscriptionAn abstraction of theSUBSCRIBEControl Packet, sent by the client and passed to the Hook, before being encoded and finally submitted to the target MQTT broker.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QoSgetQos()Gets the maximum Quality Of Service level which the target MQTT broker is allowed to send Application Messages.java.lang.StringgetTopicFilter()Gets the topic filter indicating one or more topics to which the client subscribe.
-
-
-
Method Detail
-
getTopicFilter
java.lang.String getTopicFilter()
Gets the topic filter indicating one or more topics to which the client subscribe.- Returns:
- the topic filter
-
getQos
QoS getQos()
Gets the maximum Quality Of Service level which the target MQTT broker is allowed to send Application Messages.- Returns:
- the maximum Quality Of Service level
-
-