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.

TestMqttServerAdapter.cs 557 B

7 jaren geleden
123456789101112131415161718192021222324
  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. }