Table of Contents

Namespace Silverback.Messaging.Broker.Mqtt.Mocks

Classes

MockedMqttClient

A mocked implementation of MQTTnet.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.