You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TestClientSessionFactory.cs 458 B

7 years ago
123456789101112
  1. using MQTTnet.Core.Server;
  2. namespace MQTTnet.Core.Tests
  3. {
  4. public class TestClientSessionFactory : IMqttClientSesssionFactory
  5. {
  6. public MqttClientSession CreateClientSession(string sessionId, MqttClientSessionsManager mqttClientSessionsManager)
  7. {
  8. return new MqttClientSession(sessionId, mqttClientSessionsManager, new TestLogger<MqttClientSession>(), new TestLogger<MqttClientPendingMessagesQueue>());
  9. }
  10. }
  11. }