mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 01:03:01 +08:00
15 lines
326 B
C#
15 lines
326 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using MQTTnet.Core.Server;
|
|
|
|
namespace MQTTnet.Core.Adapter
|
|
{
|
|
public interface IMqttServerAdapter
|
|
{
|
|
event EventHandler<MqttServerAdapterClientAcceptedEventArgs> ClientAccepted;
|
|
|
|
Task StartAsync(MqttServerOptions options);
|
|
Task StopAsync();
|
|
}
|
|
}
|