Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- using System;
- using System.Collections.Generic;
- using System.Threading.Tasks;
- using MQTTnet.Core.Adapter;
-
- namespace MQTTnet.Core.Server
- {
- public interface IMqttServer
- {
- event EventHandler<MqttApplicationMessageReceivedEventArgs> ApplicationMessageReceived;
- event EventHandler<MqttClientConnectedEventArgs> ClientConnected;
- event EventHandler<MqttClientDisconnectedEventArgs> ClientDisconnected;
-
- IReadOnlyList<ConnectedMqttClient> GetConnectedClients();
- void Publish(MqttApplicationMessage applicationMessage);
-
- Task StartAsync();
- Task StopAsync();
- }
- }
|