Interface SSLSessionManagerPrx
- Namespace
- Glacier2
- Assembly
- Glacier2.dll
Represents an application-provided factory for session objects. You can configure a Glacier2 router with your own SSLSessionManager implementation; this router will then return the sessions created by this session manager to its clients.
public interface SSLSessionManagerPrx : ObjectPrx, IEquatable<ObjectPrx>
- Inherited Members
Remarks
Use the methods of this interface to invoke operations on a remote Ice object that implements SSLSessionManager.
The Slice compiler generated this proxy interface from Slice interface ::Glacier2::SSLSessionManager.
Methods
create(SSLInfo, SessionControlPrx?, Dictionary<string, string>?)
Creates a new session object.
SessionPrx? create(SSLInfo info, SessionControlPrx? control, Dictionary<string, string>? context = null)
Parameters
infoSSLInfoThe SSL info.
controlSessionControlPrxA proxy to the session control object. This proxy is null when
Glacier2.Server.Endpointsis not configured.contextDictionary<string, string>The request context.
Returns
- SessionPrx
A proxy to the newly created session. This proxy is never null.
Exceptions
- CannotCreateSessionException
Thrown when the session cannot be created.
createAsync(SSLInfo, SessionControlPrx?, Dictionary<string, string>?, IProgress<bool>?, CancellationToken)
Creates a new session object.
Task<SessionPrx?> createAsync(SSLInfo info, SessionControlPrx? control, Dictionary<string, string>? context = null, IProgress<bool>? progress = null, CancellationToken cancel = default)
Parameters
infoSSLInfoThe SSL info.
controlSessionControlPrxA proxy to the session control object. This proxy is null when
Glacier2.Server.Endpointsis not configured.contextDictionary<string, string>The request context.
progressIProgress<bool>The sent progress provider.
cancelCancellationTokenA cancellation token that receives the cancellation requests.
Returns
- Task<SessionPrx>
A proxy to the newly created session. This proxy is never null.
Exceptions
- CannotCreateSessionException
Thrown when the session cannot be created. This exception is provided through the returned task; it's never thrown synchronously.