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 lines
342 B

  1. using System.Threading.Tasks;
  2. using MQTTnet.Core.Client;
  3. using System.IO;
  4. namespace MQTTnet.Core.Channel
  5. {
  6. public interface IMqttCommunicationChannel
  7. {
  8. Task ConnectAsync(MqttClientOptions options);
  9. Task DisconnectAsync();
  10. Stream SendStream { get; }
  11. Stream ReceiveStream { get; }
  12. }
  13. }