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
The MQTT client is connected and subscribed to topics.
The MQTT client is actively connecting to the broker.
The MQTT client is not connected to the broker.
The MQTT proxy has not been started (disabled or not yet initialized).
The MQTT client lost connection and is attempting to reconnect.
The MQTT client is connected, but the broker refused some or all of the topic filters it asked for.