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;
-
- namespace MQTTnet.Core.Server
- {
- public interface IMqttServer : IApplicationMessageReceiver, IApplicationMessagePublisher
- {
- event EventHandler<MqttClientConnectedEventArgs> ClientConnected;
- event EventHandler<MqttClientDisconnectedEventArgs> ClientDisconnected;
- event EventHandler<MqttServerStartedEventArgs> Started;
-
- IList<ConnectedMqttClient> GetConnectedClients();
- void Publish(IEnumerable<MqttApplicationMessage> applicationMessages);
-
- Task StartAsync();
- Task StopAsync();
- }
- }
|