IceGrid.ObjectObserver¶
- class IceGrid.ObjectObserver¶
-
Monitors well-known objects that are added, updated or removed using
IceGrid.AdminPrx.Notes
The Slice compiler generated this skeleton class from Slice interface
::IceGrid::ObjectObserver.- static ice_staticId() str¶
Obtain the type ID of the Slice interface.
- Returns:
The type ID.
- Return type:
- abstractmethod objectAdded(info: ObjectInfo, current: Current) None | Awaitable[None]¶
Notifies the observer that a well-known object was added.
- Parameters:
info (ObjectInfo) – The details of the new object.
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 objectInit(objects: list[ObjectInfo], current: Current) None | Awaitable[None]¶
Provides the initial list of well-known objects to the observer.
- Parameters:
objects (list[ObjectInfo]) – The well-known objects registered using
IceGrid.AdminPrx.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 objectRemoved(id: Identity, current: Current) None | Awaitable[None]¶
Notifies the observer that a well-known object was removed.
- Parameters:
id (Identity) – The identity of the removed object.
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 objectUpdated(info: ObjectInfo, current: Current) None | Awaitable[None]¶
Notifies the observer that a well-known object was updated.
- Parameters:
info (ObjectInfo) – The details of the updated object.
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]