IceBox.ServiceObserver

class IceBox.ServiceObserver

Bases: Object, ABC

Observes 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 skeleton class from Slice interface ::IceBox::ServiceObserver.

static ice_staticId() str

Returns the type ID of the associated Slice interface.

Returns:

The return value is always "::Ice::Object".

Return type:

str

abstractmethod servicesStarted(services: list[str], current: Current) None | Awaitable[None]

Receives the names of the services that were started.

Parameters:
  • services (list[str]) – The names of the services that were started.

  • 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 servicesStopped(services: list[str], current: Current) None | Awaitable[None]

Receives the names of the services that were stopped.

Parameters:
  • services (list[str]) – The names of the services that were stopped.

  • 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]