Show / Hide Table of Contents

    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 source

    OnClientConnectedAsync(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.

    • Improve this doc
    • View source
    In this article
    • Methods
      • OnClientConnectedAsync(MqttClientConfig)
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini