IceGrid.AdapterObserverPrx¶
- class IceGrid.AdapterObserverPrx¶
Bases:
ObjectPrxMonitors dynamically-registered object adapters.
Notes
The Slice compiler generated this proxy class from Slice interface
::IceGrid::AdapterObserver.- adapterAdded(info: AdapterInfo, context: dict[str, str] | None = None) None¶
Notifies the observer that a dynamically-registered adapter was added.
- Parameters:
info (AdapterInfo) – The details of the new adapter.
context (dict[str, str]) – The request context for the invocation.
- Return type:
None
- adapterAddedAsync(info: AdapterInfo, context: dict[str, str] | None = None) Awaitable[None]¶
Notifies the observer that a dynamically-registered adapter was added.
- Parameters:
info (AdapterInfo) – The details of the new adapter.
context (dict[str, str]) – The request context for the invocation.
- Returns:
An awaitable that is completed when the invocation completes.
- Return type:
Awaitable[None]
- adapterInit(adpts: Sequence[AdapterInfo], context: dict[str, str] | None = None) None¶
Provides the initial list of dynamically registered adapters to the observer.
- Parameters:
adpts (Sequence[AdapterInfo]) – The adapters that were dynamically registered with the registry.
context (dict[str, str]) – The request context for the invocation.
- Return type:
None
- adapterInitAsync(adpts: Sequence[AdapterInfo], context: dict[str, str] | None = None) Awaitable[None]¶
Provides the initial list of dynamically registered adapters to the observer.
- Parameters:
adpts (Sequence[AdapterInfo]) – The adapters that were dynamically registered with the registry.
context (dict[str, str]) – The request context for the invocation.
- Returns:
An awaitable that is completed when the invocation completes.
- Return type:
Awaitable[None]
- adapterRemoved(id: str, context: dict[str, str] | None = None) None¶
Notifies the observer that a dynamically-registered adapter was removed.
- adapterRemovedAsync(id: str, context: dict[str, str] | None = None) Awaitable[None]¶
Notifies the observer that a dynamically-registered adapter was removed.
- adapterUpdated(info: AdapterInfo, context: dict[str, str] | None = None) None¶
- Parameters:
info (AdapterInfo) – The details of the updated adapter.
context (dict[str, str]) – The request context for the invocation.
- Return type:
None
- adapterUpdatedAsync(info: AdapterInfo, context: dict[str, str] | None = None) Awaitable[None]¶
- Parameters:
info (AdapterInfo) – The details of the updated adapter.
context (dict[str, str]) – The request context for the invocation.
- Returns:
An awaitable that is completed when the invocation completes.
- Return type:
Awaitable[None]
- static checkedCast(proxy: ObjectPrx | None, facet: str | None = None, context: dict[str, str] | None = None) AdapterObserverPrx | 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[AdapterObserverPrx | 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 ice_staticId() str¶
Gets the Slice type ID of the interface associated with this proxy.
- Returns:
The type ID, “::Ice::Object”.
- Return type: