mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 09:13:02 +08:00
16 lines
321 B
C#
16 lines
321 B
C#
using System.Threading.Tasks;
|
|
using System.IO;
|
|
|
|
namespace MQTTnet.Core.Channel
|
|
{
|
|
public interface IMqttCommunicationChannel
|
|
{
|
|
Stream SendStream { get; }
|
|
Stream ReceiveStream { get; }
|
|
Stream RawReceiveStream { get; }
|
|
|
|
Task ConnectAsync();
|
|
Task DisconnectAsync();
|
|
}
|
|
}
|