Interface AsyncStringSet

All Superinterfaces:
Object

public interface AsyncStringSet extends Object
Manages a set of constraints on a SessionPrx.

Remarks: The Slice compiler generated this skeleton interface from Slice interface ::Glacier2::StringSet.

See Also:
  • Method Details

    • addAsync

      CompletionStage<Void> addAsync(String[] additions, Current current)
      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

      CompletionStage<Void> removeAsync(String[] deletions, Current current)
      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

      CompletionStage<String[]> getAsync(Current current)
      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

      static String ice_staticId()
      Gets the type ID of the associated Slice interface.
      Returns:
      the string "::Glacier2::StringSet"
    • dispatch

      default CompletionStage<OutgoingResponse> dispatch(IncomingRequest request) throws UserException
      Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.
      Specified by:
      dispatch in interface Object
      Parameters:
      request - the incoming request
      Returns:
      the outgoing response
      Throws:
      UserException - if a UserException is thrown, Ice will marshal it as the response payload.