MqttConnectionState
App-level MQTT proxy connection state, decoupled from the MQTT library's internal type.
Modeled as a sealed class so disconnect / reconnect events can carry diagnostic context — the user-facing reason for an unexpected disconnect, or the most recent reconnect attempt failure — without requiring downstream consumers to depend on the MQTT library's exception types.
Inheritors
Types
Link copied to clipboard
The MQTT client is connected and subscribed to topics.
Link copied to clipboard
The MQTT client is actively connecting to the broker.
Link copied to clipboard
The MQTT client is not connected to the broker.
Link copied to clipboard
The MQTT proxy has not been started (disabled or not yet initialized).
Link copied to clipboard
The MQTT client lost connection and is attempting to reconnect.