|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esf.net.mqtt.client.service.EsfMqttSubscription
public class EsfMqttSubscription
A container class for the values associated with an MQtt subscription.
Constructor Summary | |
---|---|
EsfMqttSubscription()
The default constructor. |
|
EsfMqttSubscription(java.lang.String topic,
int qos)
A constructor method specifying the topic and QoS for the subscription. |
Method Summary | |
---|---|
boolean |
equals(EsfMqttSubscription sub)
|
int |
getQos()
Returns the Quality of Service topic. |
java.lang.String |
getTopic()
Returns the subscription topic. |
void |
setQos(int qos)
Sets the Quality of Service topic. |
void |
setTopic(java.lang.String topic)
Sets the subscription topic. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EsfMqttSubscription()
public EsfMqttSubscription(java.lang.String topic, int qos)
topic
- A String object containing the topic.qos
- An integer indicating the Quality of Service.Method Detail |
---|
public java.lang.String getTopic()
public void setTopic(java.lang.String topic)
topic
- A String object containing the topic.public int getQos()
public void setQos(int qos)
qos
- An integer indicating the Quality of Service.public boolean equals(EsfMqttSubscription sub)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |