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.
 
 
 
 

17 lines
323 B

  1. using System.Threading.Tasks;
  2. using MQTTnet.Core.Client;
  3. namespace MQTTnet.Core.Channel
  4. {
  5. public interface IMqttCommunicationChannel
  6. {
  7. Task ConnectAsync(MqttClientOptions options);
  8. Task DisconnectAsync();
  9. Task WriteAsync(byte[] buffer);
  10. Task ReadAsync(byte[] buffer);
  11. }
  12. }