Files
MQTTnet/MQTTnet.Core/Channel/IMqttCommunicationChannel.cs
T

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);
}
}