Class AsyncStringSetDisp_
- Namespace
- Glacier2
- Assembly
- Glacier2.dll
Implements dispatchAsync(IncomingRequest) for the operations of Slice interface StringSet.
public abstract class AsyncStringSetDisp_ : AsyncStringSet, Object
- Inheritance
-
AsyncStringSetDisp_
- Implements
- Inherited Members
Remarks
This Async skeleton class provides only asynchronous methods. Your servant class derives from this abstract class to implement Slice interface StringSet.
The Slice compiler generated this skeleton class from Slice interface ::Glacier2::StringSet.
Methods
addAsync(string[], Current)
Adds a sequence of strings to this set of constraints. Order is not preserved and duplicates are implicitly removed.
public abstract Task addAsync(string[] additions, Current current)
Parameters
additionsstring[]The sequence of strings to add.
currentCurrentThe Current object for the dispatch.
Returns
- Task
A task that completes when the dispatch completes.
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.
getAsync(Current)
Gets a sequence of strings describing the constraints in this set.
public abstract Task<string[]> getAsync(Current current)
Parameters
currentCurrentThe Current object for the dispatch.
Returns
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::StringSet.
removeAsync(string[], Current)
Removes a sequence of strings from this set of constraints. No errors are returned if an entry is not found.
public abstract Task removeAsync(string[] deletions, Current current)
Parameters
deletionsstring[]The sequence of strings to remove.
currentCurrentThe Current object for the dispatch.
Returns
- Task
A task that completes when the dispatch completes.