mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-15 00:15:15 +08:00
17 lines
323 B
C#
17 lines
323 B
C#
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);
|
|
}
|
|
}
|