25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
557 B

  1. using System;
  2. using MQTTnet.Core.Adapter;
  3. using MQTTnet.Core.Server;
  4. namespace MQTTnet.Core.Tests
  5. {
  6. public class TestMqttServerAdapter : IMqttServerAdapter
  7. {
  8. public event EventHandler<MqttClientConnectedEventArgs> ClientConnected;
  9. public void FireClientConnectedEvent(MqttClientConnectedEventArgs eventArgs)
  10. {
  11. ClientConnected?.Invoke(this, eventArgs);
  12. }
  13. public void Start(MqttServerOptions options)
  14. {
  15. }
  16. public void Stop()
  17. {
  18. }
  19. }
  20. }