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.

Name

Gets the transport's name.

string Name { get; }

Property Value

string

The transport name.

Methods

Listen(ServerAddress, DuplexConnectionOptions, SslServerAuthenticationOptions?)

Starts listening on a server address.

IListener<IDuplexConnection> Listen(ServerAddress serverAddress, DuplexConnectionOptions options, SslServerAuthenticationOptions? serverAuthenticationOptions)

Parameters

serverAddress ServerAddress

The server address of the listener.

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.