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.
 
 
 
 

20 rindas
589 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Threading.Tasks;
  4. namespace MQTTnet.Core.Server
  5. {
  6. public interface IMqttServer
  7. {
  8. event EventHandler<MqttClientConnectedEventArgs> ClientConnected;
  9. event EventHandler<MqttClientDisconnectedEventArgs> ClientDisconnected;
  10. event EventHandler<MqttApplicationMessageReceivedEventArgs> ApplicationMessageReceived;
  11. IList<ConnectedMqttClient> GetConnectedClients();
  12. void Publish(MqttApplicationMessage applicationMessage);
  13. Task StartAsync();
  14. Task StopAsync();
  15. }
  16. }