Table of Contents

Class TcpServerTransport

Namespace
IceRpc.Transports.Tcp
Assembly
IceRpc.dll

Implements IDuplexServerTransport for the tcp transport.

public class TcpServerTransport : IDuplexServerTransport
Inheritance
TcpServerTransport
Implements
Inherited Members

Constructors

TcpServerTransport()

Constructs a TcpServerTransport.

public TcpServerTransport()

TcpServerTransport(TcpServerTransportOptions)

Constructs a TcpServerTransport.

public TcpServerTransport(TcpServerTransportOptions options)

Parameters

options TcpServerTransportOptions

The transport options.

Properties

Name

Gets the transport's name.

public string Name { get; }

Property Value

string

The transport name.

Methods

Listen(ServerAddress, DuplexConnectionOptions, SslServerAuthenticationOptions?)

Starts listening on a server address.

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