Table of Contents

Interface ICellTransportListener

Namespace
KernLab.Cell.Contracts
Assembly
KernLab.Cell.Contracts.dll

载体听点(Bind 产物——Accept 出连接;Dispose 即关闭听点)。

public interface ICellTransportListener : IAsyncDisposable
Inherited Members

Properties

Endpoint

绑定端点(自报给对端的描述符事实源)。

CellEndpointDescriptor Endpoint { get; }

Property Value

CellEndpointDescriptor

Methods

AcceptAsync(CancellationToken)

Accept——取下一条入站连接。

ValueTask<ICellTransportConnection> AcceptAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

ValueTask<ICellTransportConnection>