Files
MQTTnet/MQTT.NET.Core/Channel/IMqttTransportChannel.cs
T
2017-03-19 18:41:29 +01:00

17 lines
319 B
C#

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