ConnectPacket.ConnectPacketBuilder |
ConnectPacket.ConnectPacketBuilder.withClientId(String clientId) |
Sets the unique string identifying the client to the server.
|
ConnectPacket.ConnectPacketBuilder |
ConnectPacket.ConnectPacketBuilder.withKeepAliveIntervalSeconds(Long keepAliveInteralSeconds) |
Sets the maximum time interval, in seconds, that is permitted to elapse between the point at which the client
finishes transmitting one MQTT packet and the point it starts sending the next.
|
ConnectPacket.ConnectPacketBuilder |
ConnectPacket.ConnectPacketBuilder.withMaximumPacketSizeBytes(Long maximumPacketSizeBytes) |
Sets the maximum packet size the client is willing to handle.
|
ConnectPacket.ConnectPacketBuilder |
ConnectPacket.ConnectPacketBuilder.withPassword(byte[] password) |
Sets the opaque binary data that the server may use for client authentication and authorization.
|
ConnectPacket.ConnectPacketBuilder |
ConnectPacket.ConnectPacketBuilder.withReceiveMaximum(Long receiveMaximum) |
Sets the maximum number of in-flight QoS 1 and 2 messages the client is willing to handle.
|
ConnectPacket.ConnectPacketBuilder |
ConnectPacket.ConnectPacketBuilder.withRequestProblemInformation(Boolean requestProblemInformation) |
Sets whether requests that the server send additional diagnostic information (via response string or
user properties) in DisconnectPacket or ConnAckPacket from the server.
|
ConnectPacket.ConnectPacketBuilder |
ConnectPacket.ConnectPacketBuilder.withRequestResponseInformation(Boolean requestResponseInformation) |
Sets whether requests that the server send response information in the subsequent ConnAckPacket.
|
ConnectPacket.ConnectPacketBuilder |
ConnectPacket.ConnectPacketBuilder.withSessionExpiryIntervalSeconds(Long sessionExpiryIntervalSeconds) |
Sets the time interval, in seconds, that the client requests the server to persist this connection's MQTT session state
for.
|
ConnectPacket.ConnectPacketBuilder |
ConnectPacket.ConnectPacketBuilder.withUsername(String username) |
Sets the string value that the server may use for client authentication and authorization.
|
ConnectPacket.ConnectPacketBuilder |
ConnectPacket.ConnectPacketBuilder.withUserProperties(List<UserProperty> userProperties) |
Sets the list of MQTT5 user properties included with the packet.
|
ConnectPacket.ConnectPacketBuilder |
ConnectPacket.ConnectPacketBuilder.withWill(PublishPacket will) |
Sets the definition of a message to be published when the connection's session is destroyed by the server or when
the will delay interval has elapsed, whichever comes first.
|
ConnectPacket.ConnectPacketBuilder |
ConnectPacket.ConnectPacketBuilder.withWillDelayIntervalSeconds(Long willDelayIntervalSeconds) |
Sets the time interval, in seconds, that the server should wait (for a session reconnection) before sending the
will message associated with the connection's session.
|