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.

IMqttServer.cs 583 B

pirms 7 gadiem
123456789101112131415161718
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Threading.Tasks;
  4. namespace MQTTnet.Server
  5. {
  6. public interface IMqttServer : IApplicationMessageReceiver, IApplicationMessagePublisher
  7. {
  8. event EventHandler<MqttClientConnectedEventArgs> ClientConnected;
  9. event EventHandler<MqttClientDisconnectedEventArgs> ClientDisconnected;
  10. event EventHandler<MqttServerStartedEventArgs> Started;
  11. Task<IList<ConnectedMqttClient>> GetConnectedClientsAsync();
  12. Task StartAsync(IMqttServerOptions options);
  13. Task StopAsync();
  14. }
  15. }