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

IMqttCommunicationChannel.cs 323 B

12345678910111213141516
  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. }