Interface IServerTransport
Namespace: DotBoxD.Services.Transport
Assembly: DotBoxD.Services.dll
Represents a server-side transport that accepts incoming connections.
public interface IServerTransport : IAsyncDisposableImplements
Section titled “Implements”Remarks
Section titled “Remarks”If disposal re-enters the owning RpcHost, await that call from the disposal execution
context. Do not dispatch it through APIs that suppress System.Threading.ExecutionContext flow,
because the host cannot distinguish that detached work from an unrelated concurrent disposal.
Methods
Section titled “Methods”AcceptAsync(CancellationToken)
Section titled “ AcceptAsync(CancellationToken)”Accepts an incoming connection.
Task<IRpcChannel> AcceptAsync(CancellationToken ct = default)Parameters
Section titled “Parameters”Returns
Section titled “Returns”StartAsync(CancellationToken)
Section titled “ StartAsync(CancellationToken)”Starts listening for connections.
Task StartAsync(CancellationToken ct = default)Parameters
Section titled “Parameters”Returns
Section titled “Returns”StopAsync(CancellationToken)
Section titled “ StopAsync(CancellationToken)”Stops listening for connections.
Task StopAsync(CancellationToken ct = default)