Class MockedMqttNetClientFactory
The factory used to create the MockedMqttClient instances.
Implements
Inherited Members
Namespace: Silverback.Messaging.Broker.Mqtt
Assembly: Silverback.Integration.MQTT.Testing.dll
Syntax
public class MockedMqttNetClientFactory : IMqttNetClientFactory
Constructors
| Improve this doc View sourceMockedMqttNetClientFactory(IInMemoryMqttBroker, IMockedMqttOptions)
Initializes a new instance of the MockedMqttNetClientFactory class.
Declaration
public MockedMqttNetClientFactory(IInMemoryMqttBroker broker, IMockedMqttOptions options)
Parameters
Type | Name | Description |
---|---|---|
IInMemoryMqttBroker | broker | The IInMemoryMqttBroker. |
IMockedMqttOptions | options | The IMockedMqttOptions. |
Methods
| Improve this doc View sourceCreateClient()
Creates a new MQTTnet.Client.IMqttClient.
Declaration
public IMqttClient CreateClient()
Returns
Type | Description |
---|---|
IMqttClient | The MQTTnet.Client.IMqttClient. |