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 
 | 
static MqttPublishMessage | 
create(int messageId,
      io.netty.handler.codec.mqtt.MqttQoS qosLevel,
      boolean isDup,
      boolean isRetain,
      String topicName,
      io.netty.buffer.ByteBuf payload,
      io.netty.handler.codec.mqtt.MqttProperties properties)
Create a concrete instance of a Vert.x publish message 
 | 
boolean | 
isDup()  | 
boolean | 
isRetain()  | 
Buffer | 
payload()  | 
io.netty.handler.codec.mqtt.MqttProperties | 
properties()  | 
io.netty.handler.codec.mqtt.MqttQoS | 
qosLevel()  | 
String | 
topicName()  | 
messageIdstatic 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 messagestatic MqttPublishMessage create(int messageId, io.netty.handler.codec.mqtt.MqttQoS qosLevel, boolean isDup, boolean isRetain, String topicName, io.netty.buffer.ByteBuf payload, io.netty.handler.codec.mqtt.MqttProperties properties)
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 messageproperties - message propertiesio.netty.handler.codec.mqtt.MqttQoS qosLevel()
boolean isDup()
boolean isRetain()
String topicName()
Buffer payload()
io.netty.handler.codec.mqtt.MqttProperties properties()
Copyright © 2023 Eclipse. All rights reserved.