public static final class MqttMessageBuilders.PublishBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
MqttPublishMessage |
build() |
MqttMessageBuilders.PublishBuilder |
messageId(int messageId) |
MqttMessageBuilders.PublishBuilder |
payload(ByteBuf payload) |
MqttMessageBuilders.PublishBuilder |
qos(MqttQoS qos) |
MqttMessageBuilders.PublishBuilder |
retained(boolean retained) |
MqttMessageBuilders.PublishBuilder |
topicName(java.lang.String topic) |
public MqttMessageBuilders.PublishBuilder topicName(java.lang.String topic)
public MqttMessageBuilders.PublishBuilder retained(boolean retained)
public MqttMessageBuilders.PublishBuilder qos(MqttQoS qos)
public MqttMessageBuilders.PublishBuilder payload(ByteBuf payload)
public MqttMessageBuilders.PublishBuilder messageId(int messageId)
public MqttPublishMessage build()
Copyright © 2008–2018 The Netty Project. All rights reserved.