Class SlicServerTransport
- Namespace
- IceRpc.Transports.Slic
- Assembly
- IceRpc.dll
Implements IMultiplexedServerTransport using Slic over a duplex server transport.
public class SlicServerTransport : IMultiplexedServerTransport
- Inheritance
-
SlicServerTransport
- Implements
- Inherited Members
Constructors
SlicServerTransport(IDuplexServerTransport)
Constructs a Slic server transport.
public SlicServerTransport(IDuplexServerTransport duplexServerTransport)
Parameters
duplexServerTransportIDuplexServerTransportThe duplex server transport.
SlicServerTransport(SlicTransportOptions, IDuplexServerTransport)
Constructs a Slic server transport.
public SlicServerTransport(SlicTransportOptions options, IDuplexServerTransport duplexServerTransport)
Parameters
optionsSlicTransportOptionsThe options to configure the transport.
duplexServerTransportIDuplexServerTransportThe duplex server transport.
Properties
DefaultName
Gets the default transport name.
public string DefaultName { get; }
Property Value
- string
The transport accepts transport addresses that use this name as the TransportName. Some transports may accept additional names beyond this default.
Methods
Listen(TransportAddress, MultiplexedConnectionOptions, SslServerAuthenticationOptions?)
Starts listening on a transport address.
public IListener<IMultiplexedConnection> Listen(TransportAddress transportAddress, MultiplexedConnectionOptions options, SslServerAuthenticationOptions? serverAuthenticationOptions)
Parameters
transportAddressTransportAddressThe transport address to listen on.
optionsMultiplexedConnectionOptionsThe multiplexed connection options.
serverAuthenticationOptionsSslServerAuthenticationOptionsThe 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.