Table of Contents

Interface IDuplexClientTransport

Namespace
IceRpc.Transports
Assembly
IceRpc.dll

A class to create outgoing duplex connections.

public interface IDuplexClientTransport

Properties

Default

Gets the default duplex client transport.

public static IDuplexClientTransport Default { get; }

Property Value

IDuplexClientTransport

The default duplex client transport instance is the TcpClientTransport.

Name

Gets the transport's name.

string Name { get; }

Property Value

string

The transport name.

Methods

CreateConnection(ServerAddress, DuplexConnectionOptions, SslClientAuthenticationOptions?)

Creates a new transport connection to the specified server address.

IDuplexConnection CreateConnection(ServerAddress serverAddress, DuplexConnectionOptions options, SslClientAuthenticationOptions? clientAuthenticationOptions)

Parameters

serverAddress ServerAddress

The server address of the connection.

options DuplexConnectionOptions

The duplex connection options.

clientAuthenticationOptions SslClientAuthenticationOptions

The SSL client authentication options.

Returns

IDuplexConnection

The new transport connection. This connection is not yet connected.

Remarks

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