Table of Contents

Interface IDuplexServerTransport

Namespace
IceRpc.Transports
Assembly
IceRpc.dll

A class to create a IListener<T> to accept incoming duplex connections.

public interface IDuplexServerTransport

Properties

Default

Gets the default duplex server transport.

public static IDuplexServerTransport Default { get; }

Property Value

IDuplexServerTransport

The default duplex server transport is the TcpServerTransport.

DefaultName

Gets the default transport name.

string DefaultName { get; }

Property Value

string

The transport accepts transport addresses that use this name as the TransportName. Some transports may accept additional names beyond this default.

Methods

Listen(TransportAddress, DuplexConnectionOptions, SslServerAuthenticationOptions?)

Starts listening on a transport address.

IListener<IDuplexConnection> Listen(TransportAddress transportAddress, DuplexConnectionOptions options, SslServerAuthenticationOptions? serverAuthenticationOptions)

Parameters

transportAddress TransportAddress

The transport address to listen on.

options DuplexConnectionOptions

The duplex connection options.

serverAuthenticationOptions SslServerAuthenticationOptions

The SSL server authentication options.

Returns

IListener<IDuplexConnection>

The new listener.

Remarks

The IceRPC core can call this method concurrently so it must be thread-safe.