public class ReceivingMqttMessage extends Object implements MqttMessage<byte[]>
Modifier and Type | Method and Description |
---|---|
int |
getMessageId() |
byte[] |
getPayload() |
io.netty.handler.codec.mqtt.MqttQoS |
getQosLevel() |
String |
getTopic() |
boolean |
isDuplicate() |
boolean |
isRetain() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
of, of, of, of, of, withAck
ack, addMetadata, getAck, getMetadata, getMetadata, unwrap, withMetadata, withMetadata, withPayload
public byte[] getPayload()
getPayload
in interface Message<byte[]>
public int getMessageId()
getMessageId
in interface MqttMessage<byte[]>
public io.netty.handler.codec.mqtt.MqttQoS getQosLevel()
getQosLevel
in interface MqttMessage<byte[]>
public boolean isDuplicate()
isDuplicate
in interface MqttMessage<byte[]>
public boolean isRetain()
isRetain
in interface MqttMessage<byte[]>
public String getTopic()
getTopic
in interface MqttMessage<byte[]>
Copyright © 2018–2020 SmallRye. All rights reserved.