public static final class MqttMessageBuilders.ConnectBuilder extends Object
Modifier and Type | Method and Description |
---|---|
MqttConnectMessage |
build() |
MqttMessageBuilders.ConnectBuilder |
cleanSession(boolean cleanSession) |
MqttMessageBuilders.ConnectBuilder |
clientId(String clientId) |
MqttMessageBuilders.ConnectBuilder |
hasPassword(boolean value) |
MqttMessageBuilders.ConnectBuilder |
hasUser(boolean value) |
MqttMessageBuilders.ConnectBuilder |
keepAlive(int keepAliveSecs) |
MqttMessageBuilders.ConnectBuilder |
password(String password) |
MqttMessageBuilders.ConnectBuilder |
protocolVersion(MqttVersion version) |
MqttMessageBuilders.ConnectBuilder |
username(String username) |
MqttMessageBuilders.ConnectBuilder |
willFlag(boolean willFlag) |
MqttMessageBuilders.ConnectBuilder |
willMessage(String willMessage) |
MqttMessageBuilders.ConnectBuilder |
willQoS(MqttQoS willQos) |
MqttMessageBuilders.ConnectBuilder |
willRetain(boolean willRetain) |
MqttMessageBuilders.ConnectBuilder |
willTopic(String willTopic) |
public MqttMessageBuilders.ConnectBuilder protocolVersion(MqttVersion version)
public MqttMessageBuilders.ConnectBuilder clientId(String clientId)
public MqttMessageBuilders.ConnectBuilder cleanSession(boolean cleanSession)
public MqttMessageBuilders.ConnectBuilder keepAlive(int keepAliveSecs)
public MqttMessageBuilders.ConnectBuilder willFlag(boolean willFlag)
public MqttMessageBuilders.ConnectBuilder willQoS(MqttQoS willQos)
public MqttMessageBuilders.ConnectBuilder willTopic(String willTopic)
public MqttMessageBuilders.ConnectBuilder willMessage(String willMessage)
public MqttMessageBuilders.ConnectBuilder willRetain(boolean willRetain)
public MqttMessageBuilders.ConnectBuilder hasUser(boolean value)
public MqttMessageBuilders.ConnectBuilder hasPassword(boolean value)
public MqttMessageBuilders.ConnectBuilder username(String username)
public MqttMessageBuilders.ConnectBuilder password(String password)
public MqttConnectMessage build()
Copyright © 2008–2017 The Netty Project. All rights reserved.