Interface IMqttClientConnectedCallback
Declares the OnClientConnectedAsync(MqttClientConfiguration) event handler.
Namespace: Silverback.Messaging.Broker.Callbacks
Assembly: Silverback.Integration.MQTT.dll
Syntax
public interface IMqttClientConnectedCallback : IBrokerClientCallback
Methods
OnClientConnectedAsync(MqttClientConfiguration)
Called when the underlying MQTTnet.IMqttClient connects to the broker.
Declaration
Task OnClientConnectedAsync(MqttClientConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| MqttClientConfiguration | configuration | The client configuration. |
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |