Class AsyncSSLPermissionsVerifierDisp_
- Namespace
- Glacier2
- Assembly
- Glacier2.dll
Implements dispatchAsync(IncomingRequest) for the operations of Slice interface SSLPermissionsVerifier.
public abstract class AsyncSSLPermissionsVerifierDisp_ : AsyncSSLPermissionsVerifier, Object
- Inheritance
-
AsyncSSLPermissionsVerifierDisp_
- Implements
- Inherited Members
Remarks
This Async skeleton class provides only asynchronous methods. Your servant class derives from this abstract class to implement Slice interface SSLPermissionsVerifier.
The Slice compiler generated this skeleton class from Slice interface ::Glacier2::SSLPermissionsVerifier.
Methods
authorizeAsync(SSLInfo, Current)
Checks if a user is authorized to establish a session.
public abstract Task<SSLPermissionsVerifier_AuthorizeResult> authorizeAsync(SSLInfo info, Current current)
Parameters
Returns
- Task<SSLPermissionsVerifier_AuthorizeResult>
A task that completes when the dispatch completes.
Exceptions
- PermissionDeniedException
Thrown when the user's access is denied. This exception can be thrown instead of returning
falsewith a reason set in the reason out parameter.
dispatchAsync(IncomingRequest)
Dispatches an incoming request to one of the methods of this generated class, based on the operation name carried by the request.
public ValueTask<OutgoingResponse> dispatchAsync(IncomingRequest request)
Parameters
requestIncomingRequestThe incoming request.
Returns
- ValueTask<OutgoingResponse>
A value task that holds the outgoing response.
Remarks
Ice marshals any exception thrown by this method into the response.
ice_id(Current)
Returns the type ID of the most-derived Slice interface supported by this object.
public string ice_id(Current current)
Parameters
currentCurrentThe Current object of the incoming request.
Returns
- string
The Slice type ID of the most-derived interface.
ice_staticId()
Gets the type ID of the associated Slice interface.
public static string ice_staticId()
Returns
- string
The string
::Glacier2::SSLPermissionsVerifier.