Reconnecting

data class Reconnecting(val attempt: Int = 0, val lastError: String? = null) : MqttConnectionState(source)

The MQTT client lost connection and is attempting to reconnect.

Constructors

Link copied to clipboard
constructor(attempt: Int = 0, lastError: String? = null)

Properties

Link copied to clipboard

1-based attempt counter for the current reconnect loop.

Link copied to clipboard

Localized message from the most recent reconnect failure, if any.