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.
 
 
 
 

18 rindas
576 B

  1. using System;
  2. using System.Collections.Generic;
  3. using MQTTnet.Core.Adapter;
  4. namespace MQTTnet.Core.Server
  5. {
  6. public interface IMqttServer
  7. {
  8. event EventHandler<MqttApplicationMessageReceivedEventArgs> ApplicationMessageReceived;
  9. event EventHandler<MqttClientConnectedEventArgs> ClientConnected;
  10. IList<ConnectedMqttClient> GetConnectedClients();
  11. void InjectClient(string identifier, IMqttCommunicationAdapter adapter);
  12. void Publish(MqttApplicationMessage applicationMessage);
  13. void Start();
  14. void Stop();
  15. }
  16. }