Uses of Class
software.amazon.awssdk.crt.mqtt5.packets.DisconnectPacket.DisconnectPacketBuilder
Packages that use DisconnectPacket.DisconnectPacketBuilder
-
Uses of DisconnectPacket.DisconnectPacketBuilder in software.amazon.awssdk.crt.mqtt5.packets
Methods in software.amazon.awssdk.crt.mqtt5.packets that return DisconnectPacket.DisconnectPacketBuilderModifier and TypeMethodDescriptionDisconnectPacket.DisconnectPacketBuilder.withReasonCode(DisconnectPacket.DisconnectReasonCode reasonCode) Sets the value indicating the reason that the sender is closing the connection See MQTT5 Disconnect Reason CodeDisconnectPacket.DisconnectPacketBuilder.withReasonString(String reasonString) Sets the additional diagnostic information about the reason that the sender is closing the connection See MQTT5 Reason StringDisconnectPacket.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.withSessionExpiryIntervalSeconds(long sessionExpiryIntervalSeconds) Sets the change to the session expiry interval negotiated at connection time as part of the disconnect.DisconnectPacket.DisconnectPacketBuilder.withUserProperties(List<UserProperty> userProperties) Sets the list of MQTT5 user properties included with the packet.