using System; using System.Threading.Tasks; using MQTTnet.Server; namespace MQTTnet.Adapter { public interface IMqttServerAdapter { event EventHandler ClientAccepted; Task StartAsync(MqttServerOptions options); Task StopAsync(); } }