IceBox.ServiceObserverPrx¶
- class IceBox.ServiceObserverPrx¶
Bases:
ObjectPrxObserves the status of services in an IceBox server.
Notes
This interface is implemented by admin tools that monitor the IceBox server.
The Slice compiler generated this proxy class from Slice interface
::IceBox::ServiceObserver.- servicesStarted(services: Sequence[str], context: dict[str, str] | None = None) None¶
Receives the names of the services that were started.
- servicesStartedAsync(services: Sequence[str], context: dict[str, str] | None = None) Awaitable[None]¶
Receives the names of the services that were started.
- servicesStopped(services: Sequence[str], context: dict[str, str] | None = None) None¶
Receives the names of the services that were stopped.
- servicesStoppedAsync(services: Sequence[str], context: dict[str, str] | None = None) Awaitable[None]¶
Receives the names of the services that were stopped.
- static checkedCast(proxy: ObjectPrx | None, facet: str | None = None, context: dict[str, str] | None = None) ServiceObserverPrx | 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 facet, or
Noneif the source proxy isNoneor if the target object/facet 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[ServiceObserverPrx | 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 facet, or
Noneif the source proxy isNoneor if the target object/facet does not support the requested type.- Return type:
ObjectPrx | None