TServerTransport.accept

Accepts a client connection and returns an opened TTransport for it, never returning null.

Blocks until a client connection is available.

interface TServerTransport
accept
out (result) { assert (result !is null); }

Parameters

cancellation TCancellation

If triggered, requests the call to stop blocking and return with a TCancelledException. Implementations are free to ignore this if they cannot provide a reasonable.

Throws

TServerTransportException if accepting failed, TCancelledException if it was cancelled.

Meta