Glacier2.SessionControl¶
- class Glacier2.SessionControl¶
-
Represents 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 skeleton class from Slice interface
::Glacier2::SessionControl.- abstractmethod adapterIds(current: Current) StringSetPrx | None | Awaitable[StringSetPrx | None]¶
Gets a proxy to the object that manages the allowable adapter identities for objects for this session.
- Parameters:
current (Ice.Current) – The Current object for the dispatch.
- Returns:
A proxy to a
Glacier2.StringSetPrxobject. This proxy is never null.- Return type:
StringSetPrx | None | Awaitable[StringSetPrx | None]
- abstractmethod categories(current: Current) StringSetPrx | None | Awaitable[StringSetPrx | None]¶
Gets a proxy to the object that manages the allowable categories for object identities for this session.
- Parameters:
current (Ice.Current) – The Current object for the dispatch.
- Returns:
A proxy to a
Glacier2.StringSetPrxobject. This proxy is never null.- Return type:
StringSetPrx | None | Awaitable[StringSetPrx | None]
- abstractmethod destroy(current: Current) None | Awaitable[None]¶
Destroys the associated session.
- Parameters:
current (Ice.Current) – The Current object for the dispatch.
- Returns:
None or an awaitable that completes when the dispatch completes.
- Return type:
None | Awaitable[None]
- abstractmethod getSessionTimeout(current: Current) int | Awaitable[int]¶
Gets the session timeout.
- Parameters:
current (Ice.Current) – The Current object for the dispatch.
- Returns:
The timeout.
- Return type:
- static ice_staticId() str¶
Obtain the type ID of the Slice interface.
- Returns:
The type ID.
- Return type:
- abstractmethod identities(current: Current) IdentitySetPrx | None | Awaitable[IdentitySetPrx | None]¶
Gets a proxy to the object that manages the allowable object identities for this session.
- Parameters:
current (Ice.Current) – The Current object for the dispatch.
- Returns:
A proxy to an
Glacier2.IdentitySetPrxobject. This proxy is never null.- Return type:
IdentitySetPrx | None | Awaitable[IdentitySetPrx | None]