MqttMessage, SubscribeMessagepublic static class SubscribeMessage.SubscribeMessageImpl extends Object implements SubscribeMessage
SubscribeMessage.SubscribeMessageImpl| Modifier and Type | Field | Description |
|---|---|---|
protected byte[] |
payload |
|
protected int |
qos |
|
protected boolean |
retained |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object obj) |
|
int |
getId() |
|
byte[] |
getPayload() |
|
int |
getQos() |
|
String |
getTopic() |
|
int |
hashCode() |
|
boolean |
isRetained() |
|
String |
toString() |
getPayload, getQos, isRetainedclone, finalize, getClass, notify, notifyAll, wait, wait, waitcreateprotected final byte[] payload
protected final int qos
protected final boolean retained
public int getId()
getId in interface SubscribeMessagepublic String getTopic()
getTopic in interface SubscribeMessagepublic int hashCode()
public boolean equals(Object obj)
public byte[] getPayload()
getPayload in interface MqttMessagepublic int getQos()
getQos in interface MqttMessagepublic boolean isRetained()
isRetained in interface MqttMessageCopyright © 2018. All rights reserved.