Package io.netty.handler.codec.mqtt
Class MqttMessageBuilders.ConnectBuilder
java.lang.Object
io.netty.handler.codec.mqtt.MqttMessageBuilders.ConnectBuilder
- Enclosing class:
MqttMessageBuilders
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate Stringprivate booleanprivate booleanprivate intprivate byte[]private MqttPropertiesprivate Stringprivate MqttVersionprivate booleanprivate byte[]private MqttPropertiesprivate MqttQoSprivate booleanprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()cleanSession(boolean cleanSession) hasPassword(boolean value) hasUser(boolean value) keepAlive(int keepAliveSecs) password(byte[] password) Deprecated.properties(MqttProperties properties) protocolVersion(MqttVersion version) willFlag(boolean willFlag) willMessage(byte[] willMessage) willMessage(String willMessage) Deprecated.usewillMessage(byte[])insteadwillProperties(MqttProperties willProperties) willRetain(boolean willRetain)
-
Field Details
-
version
-
clientId
-
cleanSession
private boolean cleanSession -
hasUser
private boolean hasUser -
hasPassword
private boolean hasPassword -
keepAliveSecs
private int keepAliveSecs -
willProperties
-
willFlag
private boolean willFlag -
willRetain
private boolean willRetain -
willQos
-
willTopic
-
willMessage
private byte[] willMessage -
username
-
password
private byte[] password -
properties
-
-
Constructor Details
-
ConnectBuilder
ConnectBuilder()
-
-
Method Details
-
protocolVersion
-
clientId
-
cleanSession
-
keepAlive
-
willFlag
-
willQoS
-
willTopic
-
willMessage
Deprecated.usewillMessage(byte[])instead -
willMessage
-
willRetain
-
willProperties
-
hasUser
-
hasPassword
-
username
-
password
Deprecated.usepassword(byte[])instead -
password
-
properties
-
build
-
password(byte[])instead