|
12345678910111213141516 |
- using System.Threading.Tasks;
- using MQTTnet.Core.Client;
-
- namespace MQTTnet.Core.Channel
- {
- public interface IMqttCommunicationChannel
- {
- Task ConnectAsync(MqttClientOptions options);
-
- Task DisconnectAsync();
-
- Task WriteAsync(byte[] buffer);
-
- Task ReadAsync(byte[] buffer);
- }
- }
|