Class MqttNetClientFactory
Wraps the MQTTnet.MqttFactory.
Implements
Inherited Members
Namespace: Silverback.Messaging.Broker.Mqtt
Assembly: Silverback.Integration.MQTT.dll
Syntax
public class MqttNetClientFactory : IMqttNetClientFactory
Constructors
| Improve this doc View sourceMqttNetClientFactory(IMqttNetLogger)
Initializes a new instance of the MqttNetClientFactory class.
Declaration
public MqttNetClientFactory(IMqttNetLogger mqttNetLogger)
Parameters
Type | Name | Description |
---|---|---|
IMqttNetLogger | mqttNetLogger | The MQTTnet.Diagnostics.IMqttNetLogger. |
Methods
| Improve this doc View sourceCreateClient()
Creates a new MQTTnet.Client.IMqttClient.
Declaration
public IMqttClient CreateClient()
Returns
Type | Description |
---|---|
IMqttClient | The MQTTnet.Client.IMqttClient. |