public static final class MqttMessageBuilders.ConnAckBuilder
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
MqttConnAckMessage |
build() |
MqttMessageBuilders.ConnAckBuilder |
properties(MqttMessageBuilders.PropertiesInitializer<MqttMessageBuilders.ConnAckPropertiesBuilder> consumer) |
MqttMessageBuilders.ConnAckBuilder |
properties(MqttProperties properties) |
MqttMessageBuilders.ConnAckBuilder |
returnCode(MqttConnectReturnCode returnCode) |
MqttMessageBuilders.ConnAckBuilder |
sessionPresent(boolean sessionPresent) |
public MqttMessageBuilders.ConnAckBuilder returnCode(MqttConnectReturnCode returnCode)
public MqttMessageBuilders.ConnAckBuilder sessionPresent(boolean sessionPresent)
public MqttMessageBuilders.ConnAckBuilder properties(MqttProperties properties)
public MqttMessageBuilders.ConnAckBuilder properties(MqttMessageBuilders.PropertiesInitializer<MqttMessageBuilders.ConnAckPropertiesBuilder> consumer)
public MqttConnAckMessage build()