Package br.com.anteros.mqtt.core.client
Class MqttClientSubscription
- java.lang.Object
-
- br.com.anteros.mqtt.core.client.MqttClientSubscription
-
- All Implemented Interfaces:
Serializable
public final class MqttClientSubscription extends Object implements Serializable
发送订阅,未 ack 前的数据承载- Author:
- L.cm
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MqttClientSubscription(br.com.anteros.mqtt.codec.MqttQoS mqttQoS, String topicFilter, IMqttClientMessageListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IMqttClientMessageListenergetListener()br.com.anteros.mqtt.codec.MqttQoSgetMqttQoS()StringgetTopicFilter()inthashCode()booleanmatches(String topic)StringtoString()br.com.anteros.mqtt.codec.MqttTopicSubscriptiontoTopicSubscription()
-
-
-
Constructor Detail
-
MqttClientSubscription
public MqttClientSubscription(br.com.anteros.mqtt.codec.MqttQoS mqttQoS, String topicFilter, IMqttClientMessageListener listener)
-
-
Method Detail
-
getMqttQoS
public br.com.anteros.mqtt.codec.MqttQoS getMqttQoS()
-
getTopicFilter
public String getTopicFilter()
-
getListener
public IMqttClientMessageListener getListener()
-
matches
public boolean matches(String topic)
-
toTopicSubscription
public br.com.anteros.mqtt.codec.MqttTopicSubscription toTopicSubscription()
-
-