Ice.ProcessPrx¶
- class Ice.ProcessPrx¶
Bases:
ObjectPrxA server application managed by a locator implementation such as IceGrid hosts a Process object and registers a proxy to this object with the locator registry. See
Ice.LocatorRegistryPrx.setServerProcessProxyAsync().Notes
The Slice compiler generated this proxy class from Slice interface
::Ice::Process.- shutdown(context: dict[str, str] | None = None) None¶
Initiates a graceful shutdown of the server application.
- shutdownAsync(context: dict[str, str] | None = None) Awaitable[None]¶
Initiates a graceful shutdown of the server application.
- writeMessage(message: str, fd: int, context: dict[str, str] | None = None) None¶
Writes a message on the server application’s stdout or stderr.
- writeMessageAsync(message: str, fd: int, context: dict[str, str] | None = None) Awaitable[None]¶
Writes a message on the server application’s stdout or stderr.
- static checkedCast(proxy: ObjectPrx | None, facet: str | None = None, context: dict[str, str] | None = None) ProcessPrx | 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[ProcessPrx | 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