DisconnectPacket.DisconnectPacketBuilder |
DisconnectPacket.DisconnectPacketBuilder.withReasonCode(DisconnectPacket.DisconnectReasonCode reasonCode) |
|
DisconnectPacket.DisconnectPacketBuilder |
DisconnectPacket.DisconnectPacketBuilder.withReasonString(String reasonString) |
Sets the additional diagnostic information about the reason that the sender is closing the connection
See MQTT5 Reason String
|
DisconnectPacket.DisconnectPacketBuilder |
DisconnectPacket.DisconnectPacketBuilder.withServerReference(String serverReference) |
Sets the property indicating an alternate server that the client may temporarily or permanently attempt
to connect to instead of the configured endpoint.
|
DisconnectPacket.DisconnectPacketBuilder |
DisconnectPacket.DisconnectPacketBuilder.withSessionExpiryIntervalSeconds(long sessionExpiryIntervalSeconds) |
Sets the change to the session expiry interval negotiated at connection time as part of the disconnect.
|
DisconnectPacket.DisconnectPacketBuilder |
DisconnectPacket.DisconnectPacketBuilder.withUserProperties(List<UserProperty> userProperties) |
Sets the list of MQTT5 user properties included with the packet.
|