Glacier2.IdentitySetPrx¶
- class Glacier2.IdentitySetPrx¶
Bases:
ObjectPrxManages a set of object identity constraints on a
Glacier2.SessionPrx.Notes
The Slice compiler generated this proxy class from Slice interface
::Glacier2::IdentitySet.- add(additions: Sequence[Identity], context: dict[str, str] | None = None) None¶
Adds a sequence of Ice identities to this set of constraints. Order is not preserved and duplicates are implicitly removed.
- addAsync(additions: Sequence[Identity], context: dict[str, str] | None = None) Awaitable[None]¶
Adds a sequence of Ice identities to this set of constraints. Order is not preserved and duplicates are implicitly removed.
- static checkedCast(proxy: ObjectPrx | None, facet: str | None = None, context: dict[str, str] | None = None) IdentitySetPrx | None¶
Creates a new proxy from an existing proxy after confirming the target object’s type via a remote invocation.
- Parameters:
- Returns:
A new proxy with the requested type, or None if the source proxy is None or if the target object does not support the requested type.
- Return type:
ObjectPrx | None
- static checkedCastAsync(proxy: ObjectPrx | None, facet: str | None = None, context: dict[str, str] | None = None) Awaitable[IdentitySetPrx | None]¶
Creates a new proxy from an existing proxy after confirming the target object’s type via a remote invocation.
- Parameters:
- Returns:
A new proxy with the requested type, or None if the source proxy is None or if the target object does not support the requested type.
- Return type:
ObjectPrx | None
- get(context: dict[str, str] | None = None) list[Identity]¶
Gets a sequence of identities describing the constraints in this set.
- getAsync(context: dict[str, str] | None = None) Awaitable[list[Identity]]¶
Gets a sequence of identities describing the constraints in this set.
- static ice_staticId() str¶
Gets the Slice type ID of the interface associated with this proxy.
- Returns:
The type ID, “::Ice::Object”.
- Return type:
- remove(deletions: Sequence[Identity], context: dict[str, str] | None = None) None¶
Removes a sequence of identities from this set of constraints. No errors are returned if an entry is not found.
- removeAsync(deletions: Sequence[Identity], context: dict[str, str] | None = None) Awaitable[None]¶
Removes a sequence of identities from this set of constraints. No errors are returned if an entry is not found.