Glacier2.SessionControlPrx¶
- class Glacier2.SessionControlPrx¶
Bases:
ObjectPrxRepresents a router-provided object that allows an application-provided session manager to configure the routing constraints for a session.
Notes
The Slice compiler generated this proxy class from Slice interface
::Glacier2::SessionControl.- adapterIds(context: dict[str, str] | None = None) StringSetPrx | None¶
Gets a proxy to the object that manages the allowable adapter identities for objects for this session.
- Parameters:
context (dict[str, str]) – The request context for the invocation.
- Returns:
A proxy to a
Glacier2.StringSetPrxobject. This proxy is never null.- Return type:
StringSetPrx | None
- adapterIdsAsync(context: dict[str, str] | None = None) Awaitable[StringSetPrx | None]¶
Gets a proxy to the object that manages the allowable adapter identities for objects for this session.
- Parameters:
context (dict[str, str]) – The request context for the invocation.
- Returns:
A proxy to a
Glacier2.StringSetPrxobject. This proxy is never null.- Return type:
Awaitable[StringSetPrx | None]
- categories(context: dict[str, str] | None = None) StringSetPrx | None¶
Gets a proxy to the object that manages the allowable categories for object identities for this session.
- Parameters:
context (dict[str, str]) – The request context for the invocation.
- Returns:
A proxy to a
Glacier2.StringSetPrxobject. This proxy is never null.- Return type:
StringSetPrx | None
- categoriesAsync(context: dict[str, str] | None = None) Awaitable[StringSetPrx | None]¶
Gets a proxy to the object that manages the allowable categories for object identities for this session.
- Parameters:
context (dict[str, str]) – The request context for the invocation.
- Returns:
A proxy to a
Glacier2.StringSetPrxobject. This proxy is never null.- Return type:
Awaitable[StringSetPrx | None]
- static checkedCast(proxy: ObjectPrx | None, facet: str | None = None, context: dict[str, str] | None = None) SessionControlPrx | 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[SessionControlPrx | 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
- destroyAsync(context: dict[str, str] | None = None) Awaitable[None]¶
Destroys the associated session.
- getSessionTimeoutAsync(context: dict[str, str] | None = None) Awaitable[int]¶
Gets the session timeout.
- static ice_staticId() str¶
Gets the Slice type ID of the interface associated with this proxy.
- Returns:
The type ID, “::Ice::Object”.
- Return type:
- identities(context: dict[str, str] | None = None) IdentitySetPrx | None¶
Gets a proxy to the object that manages the allowable object identities for this session.
- Parameters:
context (dict[str, str]) – The request context for the invocation.
- Returns:
A proxy to an
Glacier2.IdentitySetPrxobject. This proxy is never null.- Return type:
IdentitySetPrx | None
- identitiesAsync(context: dict[str, str] | None = None) Awaitable[IdentitySetPrx | None]¶
Gets a proxy to the object that manages the allowable object identities for this session.
- Parameters:
context (dict[str, str]) – The request context for the invocation.
- Returns:
A proxy to an
Glacier2.IdentitySetPrxobject. This proxy is never null.- Return type:
Awaitable[IdentitySetPrx | None]