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 boolean
private String
private boolean
private boolean
private int
private byte[]
private MqttProperties
private String
private MqttVersion
private boolean
private byte[]
private MqttProperties
private MqttQoS
private boolean
private 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