mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 01:03:01 +08:00
24 lines
557 B
C#
24 lines
557 B
C#
using System;
|
|
using MQTTnet.Core.Adapter;
|
|
using MQTTnet.Core.Server;
|
|
|
|
namespace MQTTnet.Core.Tests
|
|
{
|
|
public class TestMqttServerAdapter : IMqttServerAdapter
|
|
{
|
|
public event EventHandler<MqttClientConnectedEventArgs> ClientConnected;
|
|
|
|
public void FireClientConnectedEvent(MqttClientConnectedEventArgs eventArgs)
|
|
{
|
|
ClientConnected?.Invoke(this, eventArgs);
|
|
}
|
|
|
|
public void Start(MqttServerOptions options)
|
|
{
|
|
}
|
|
|
|
public void Stop()
|
|
{
|
|
}
|
|
}
|
|
} |