Table of Contents

Class SlicServerTransport

Namespace
IceRpc.Transports.Slic
Assembly
IceRpc.dll

Implements IMultiplexedServerTransport using Slic over a duplex server transport.

public class SlicServerTransport : IMultiplexedServerTransport
Inheritance
SlicServerTransport
Implements
Inherited Members

Constructors

SlicServerTransport(IDuplexServerTransport)

Constructs a Slic server transport.

public SlicServerTransport(IDuplexServerTransport duplexServerTransport)

Parameters

duplexServerTransport IDuplexServerTransport

The duplex server transport.

SlicServerTransport(SlicTransportOptions, IDuplexServerTransport)

Constructs a Slic server transport.

public SlicServerTransport(SlicTransportOptions options, IDuplexServerTransport duplexServerTransport)

Parameters

options SlicTransportOptions

The options to configure the transport.

duplexServerTransport IDuplexServerTransport

The duplex server transport.

Properties

DefaultName

Gets the default transport name.

public 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.

public 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.