IceGrid.RegistryObserver¶
- class IceGrid.RegistryObserver¶
-
Monitors changes to the state of the registries.
Notes
The Slice compiler generated this skeleton class from Slice interface
::IceGrid::RegistryObserver.- static ice_staticId() str¶
Obtain the type ID of the Slice interface.
- Returns:
The type ID.
- Return type:
- abstractmethod registryDown(name: str, current: Current) None | Awaitable[None]¶
Notifies the observer that a registry replica went down.
- Parameters:
name (str) – The registry name.
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 registryInit(registries: list[RegistryInfo], current: Current) None | Awaitable[None]¶
Provides the initial state of the registries to the observer.
- Parameters:
registries (list[RegistryInfo]) – The current state of the registries.
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 registryUp(registryReplica: RegistryInfo, current: Current) None | Awaitable[None]¶
Notifies the observer that a registry replica came up.
- Parameters:
registryReplica (RegistryInfo) – The registry state.
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]