public interface MqttPublishMessage extends MqttMessage
Modifier and Type | Method and Description |
---|---|
static MqttPublishMessage |
create(int messageId,
io.netty.handler.codec.mqtt.MqttQoS qosLevel,
boolean isDup,
boolean isRetain,
String topicName,
io.netty.buffer.ByteBuf payload)
Create a concrete instance of a Vert.x publish message
|
boolean |
isDup() |
boolean |
isRetain() |
Buffer |
payload() |
io.netty.handler.codec.mqtt.MqttQoS |
qosLevel() |
String |
topicName() |
messageId
static MqttPublishMessage create(int messageId, io.netty.handler.codec.mqtt.MqttQoS qosLevel, boolean isDup, boolean isRetain, String topicName, io.netty.buffer.ByteBuf payload)
messageId
- message identifierqosLevel
- quality of service levelisDup
- if the message is a duplicateisRetain
- if the message needs to be retainedtopicName
- topic on which the message was publishedpayload
- payload messageio.netty.handler.codec.mqtt.MqttQoS qosLevel()
boolean isDup()
boolean isRetain()
String topicName()
Buffer payload()
Copyright © 2021 Eclipse. All rights reserved.