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 |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |