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 593 B

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