Interface AsyncIdentitySet

All Superinterfaces:
Object

public interface AsyncIdentitySet extends Object
Manages a set of object identity constraints on a SessionPrx.

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

See Also:
  • Method Details

    • addAsync

      CompletionStage<Void> addAsync(Identity[] additions, Current current)
      Adds a sequence of Ice identities to this set of constraints. Order is not preserved and duplicates are implicitly removed.
      Parameters:
      additions - The sequence of Ice identities 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(Identity[] deletions, Current current)
      Removes a sequence of identities from this set of constraints. No errors are returned if an entry is not found.
      Parameters:
      deletions - The sequence of Ice identities 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<Identity[]> getAsync(Current current)
      Gets a sequence of identities describing the constraints in this set.
      Parameters:
      current - the Current object of the incoming request
      Returns:
      The sequence of Ice identities for this set.
    • ice_staticId

      static String ice_staticId()
      Gets the type ID of the associated Slice interface.
      Returns:
      the string "::Glacier2::IdentitySet"
    • 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.