Table of Contents

Interface IServerTransport

Namespace
DotBoxD.Services.Transport
Assembly
DotBoxD.Services.dll

Represents a server-side transport that accepts incoming connections.

public interface IServerTransport : IAsyncDisposable
Inherited Members

Methods

AcceptAsync(CancellationToken)

Accepts an incoming connection.

Task<IRpcChannel> AcceptAsync(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task<IRpcChannel>

StartAsync(CancellationToken)

Starts listening for connections.

Task StartAsync(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task

StopAsync(CancellationToken)

Stops listening for connections.

Task StopAsync(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task