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