mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 10:26:11 +08:00
initial version
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using MQTTnet.Core.Server;
|
||||
|
||||
namespace MQTTnet.Core.Tests
|
||||
{
|
||||
public class TestClientSessionFactory : IMqttClientSesssionFactory
|
||||
{
|
||||
public MqttClientSession CreateClientSession(string sessionId, MqttClientSessionsManager mqttClientSessionsManager)
|
||||
{
|
||||
return new MqttClientSession(sessionId, mqttClientSessionsManager, new TestLogger<MqttClientSession>(), new TestLogger<MqttClientPendingMessagesQueue>());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user