Package com.hivemq.client.mqtt.lifecycle
package com.hivemq.client.mqtt.lifecycle
-
ClassDescriptionAutomatic reconnect strategy using an exponential backoff with configurable initial and maximum delays.Builder for a
MqttClientAutoReconnect.Builder for aMqttClientAutoReconnectthat is applied to a parent.Builder base for aMqttClientAutoReconnect.Provides context about the client that is now connected.Listener which is notified when a client is connected (a successful ConnAck message is received).Provides context about the client that is now disconnected, the cause for disconnection and allows reconnecting.Listener which is notified when a client is disconnected (with or without a Disconnect message) or the connection fails.A reconnector is supplied by aMqttClientDisconnectedContextand can be used for reconnecting.Source which triggers disconnection.