Interface IdentitySet

All Superinterfaces:
Object

public interface IdentitySet extends Object
Manages a set of object identity constraints on a SessionPrx.
See Also:
  • Method Details

    • add

      void add(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.
    • remove

      void remove(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.
    • get

      Identity[] get(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.