mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 17:23:04 +08:00
# Conflicts: # Build/MQTTnet.nuspec # Source/MQTTnet/Server/Internal/MqttClientSessionsManager.cs
16 lines
363 B
C#
16 lines
363 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using MQTTnet.Diagnostics;
|
|
using MQTTnet.Server;
|
|
|
|
namespace MQTTnet.Adapter
|
|
{
|
|
public interface IMqttServerAdapter : IDisposable
|
|
{
|
|
Func<IMqttChannelAdapter, Task> ClientHandler { get; set; }
|
|
|
|
Task StartAsync(MqttServerOptions options, IMqttNetLogger logger);
|
|
Task StopAsync();
|
|
}
|
|
}
|