Namespace Silverback.Messaging.Broker.Mqtt.Mocks
Classes
MockedMqttClient
A mocked implementation of MQTTnet.Client.IMqttClient from MQTTnet that connects with an in-memory broker.
Interfaces
IClientSession
The session of a client connected to the IInMemoryMqttBroker.
IInMemoryMqttBroker
A mocked MQTT broker where the messages are just exchanged in-memory. Note that it isn't obviously possible to accurately replicate the message broker behavior and this implementation is just intended for testing purposes.