You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 regels
562 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Threading.Tasks;
  4. namespace MQTTnet.Core.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();
  13. Task StopAsync();
  14. }
  15. }