Class ReceivingMqttMessage
- java.lang.Object
-
- io.smallrye.reactive.messaging.mqtt.ReceivingMqttMessage
-
- All Implemented Interfaces:
MqttMessage<byte[]>
,Message<byte[]>
public class ReceivingMqttMessage extends Object implements MqttMessage<byte[]>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMessageId()
byte[]
getPayload()
io.netty.handler.codec.mqtt.MqttQoS
getQosLevel()
String
getTopic()
boolean
isDuplicate()
boolean
isRetain()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.microprofile.reactive.messaging.Message
ack, addMetadata, getAck, getMetadata, getMetadata, unwrap, withMetadata, withMetadata, withPayload
-
Methods inherited from interface io.smallrye.reactive.messaging.mqtt.MqttMessage
withAck
-
-
-
-
Method Detail
-
getPayload
public byte[] getPayload()
- Specified by:
getPayload
in interfaceMessage<byte[]>
- Returns:
- The payload for this message.
-
getMessageId
public int getMessageId()
- Specified by:
getMessageId
in interfaceMqttMessage<byte[]>
-
getQosLevel
public io.netty.handler.codec.mqtt.MqttQoS getQosLevel()
- Specified by:
getQosLevel
in interfaceMqttMessage<byte[]>
-
isDuplicate
public boolean isDuplicate()
- Specified by:
isDuplicate
in interfaceMqttMessage<byte[]>
-
isRetain
public boolean isRetain()
- Specified by:
isRetain
in interfaceMqttMessage<byte[]>
-
getTopic
public String getTopic()
- Specified by:
getTopic
in interfaceMqttMessage<byte[]>
-
-