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
serverAddressServerAddressThe server address of the connection.
optionsDuplexConnectionOptionsThe duplex connection options.
clientAuthenticationOptionsSslClientAuthenticationOptionsThe 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.