Interface IMultiplexedServerTransport
- Namespace
- IceRpc.Transports
- Assembly
- IceRpc.dll
A class to create a IListener<T> to accept incoming multiplexed connections.
public interface IMultiplexedServerTransport
Properties
Default
Gets the default multiplexed server transport.
public static IMultiplexedServerTransport Default { get; }
Property Value
- IMultiplexedServerTransport
The default multiplexed server transport is the SlicServerTransport.
Name
Gets the transport's name.
string Name { get; }
Property Value
- string
The transport name.
Methods
Listen(ServerAddress, MultiplexedConnectionOptions, SslServerAuthenticationOptions?)
Starts listening on a server address.
IListener<IMultiplexedConnection> Listen(ServerAddress serverAddress, MultiplexedConnectionOptions options, SslServerAuthenticationOptions? serverAuthenticationOptions)
Parameters
serverAddress
ServerAddressThe server address of the listener.
options
MultiplexedConnectionOptionsThe multiplexed connection options.
serverAuthenticationOptions
SslServerAuthenticationOptionsThe 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.