Package cool.mqtt.hooks
Interface MqttSubscription
public interface MqttSubscription
An abstraction of the
SUBSCRIBE
Control Packet, sent by the client and passed to the
Hook, before being encoded and finally submitted to the target MQTT broker.-
Method Summary
Modifier and Type Method Description QoS
getQos()
Gets the maximum Quality Of Service level which the target MQTT broker is allowed to send Application Messages.java.lang.String
getTopicFilter()
Gets the topic filter indicating one or more topics to which the client subscribe.
-
Method Details
-
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
-