Table of Contents

Interface IMultiplexedServerTransport

Namespace
IceRpc.Transports
Assembly
IceRpc.dll

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

public interface IMultiplexedServerTransport

Properties

Default

Gets the default multiplexed server transport. It accepts transport names "quic" and "tcp"; a null transport name is equivalent to "quic".

public static IMultiplexedServerTransport Default { get; }

Property Value

IMultiplexedServerTransport

The default multiplexed server transport.

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, MultiplexedConnectionOptions, SslServerAuthenticationOptions?)

Starts listening on a transport address.

IListener<IMultiplexedConnection> Listen(TransportAddress transportAddress, MultiplexedConnectionOptions options, SslServerAuthenticationOptions? serverAuthenticationOptions)

Parameters

transportAddress TransportAddress

The transport address to listen on.

options MultiplexedConnectionOptions

The multiplexed connection options.

serverAuthenticationOptions SslServerAuthenticationOptions

The SSL server authentication options.

Returns

IListener<IMultiplexedConnection>

The new listener.

Remarks

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