mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 01:33:03 +08:00
15 lines
280 B
C#
15 lines
280 B
C#
using System.Threading.Tasks;
|
|
using System.IO;
|
|
|
|
namespace MQTTnet.Core.Channel
|
|
{
|
|
public interface IMqttCommunicationChannel
|
|
{
|
|
Stream SendStream { get; }
|
|
Stream ReceiveStream { get; }
|
|
|
|
Task ConnectAsync();
|
|
Task DisconnectAsync();
|
|
}
|
|
}
|