- All Superinterfaces:
Object
Manages a set of constraints on a
SessionPrx.
Remarks:
The Slice compiler generated this skeleton interface from Slice interface ::Glacier2::StringSet.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult -
Method Summary
Modifier and TypeMethodDescriptionAdds a sequence of strings to this set of constraints.default CompletionStage<OutgoingResponse>dispatch(IncomingRequest request) Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.Gets a sequence of strings describing the constraints in this set.static StringGets the type ID of the associated Slice interface.removeAsync(String[] deletions, Current current) Removes a sequence of strings from this set of constraints.
-
Method Details
-
addAsync
Adds a sequence of strings to this set of constraints. Order is not preserved and duplicates are implicitly removed.- Parameters:
additions- The sequence of strings to add.current- the Current object of the incoming request- Returns:
- a completion stage that the servant will complete when the invocation completes
-
removeAsync
Removes a sequence of strings from this set of constraints. No errors are returned if an entry is not found.- Parameters:
deletions- The sequence of strings to remove.current- the Current object of the incoming request- Returns:
- a completion stage that the servant will complete when the invocation completes
-
getAsync
Gets a sequence of strings describing the constraints in this set.- Parameters:
current- the Current object of the incoming request- Returns:
- The sequence of strings for this set.
-
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::Glacier2::StringSet"
-
dispatch
Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.- Specified by:
dispatchin interfaceObject- Parameters:
request- the incoming request- Returns:
- the outgoing response
- Throws:
UserException- if aUserExceptionis thrown, Ice will marshal it as the response payload.
-