Bases: ObjectPrx
A 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.
- Parameters:
context (dict[str, str]) – The request context for the invocation.
- Return type:
None
-
shutdownAsync(context: dict[str, str] | None = None) → Awaitable[None]
Initiates a graceful shutdown of the server application.
- Parameters:
context (dict[str, str]) – The request context for the invocation.
- Returns:
An awaitable that is completed when the invocation completes.
- Return type:
Awaitable[None]
-
writeMessage(message: str, fd: int, context: dict[str, str] | None = None) → None
Writes a message on the server application’s stdout or stderr.
- Parameters:
message (str) – The message to write.
fd (int) – 1 for stdout, 2 for stderr.
context (dict[str, str]) – The request context for the invocation.
- Return type:
None
-
writeMessageAsync(message: str, fd: int, context: dict[str, str] | None = None) → Awaitable[None]
Writes a message on the server application’s stdout or stderr.
- Parameters:
message (str) – The message to write.
fd (int) – 1 for stdout, 2 for stderr.
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) → ProcessPrx | None
Creates a new proxy from an existing proxy after confirming the target object’s type via a remote invocation.
- Parameters:
proxy (ObjectPrx | None) – The source proxy.
facet (str | None, optional) – A facet name.
context (dict[str, str] | None, optional) – The request context.
- Returns:
A new proxy with the requested facet, or None if the source proxy is None or 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:
proxy (ObjectPrx | None) – The source proxy.
facet (str | None, optional) – A facet name.
context (dict[str, str] | None, optional) – The request context.
- Returns:
An Awaitable that completes when the invocation completes.
It holds a new proxy with the requested facet, or None if the source proxy is None or if the
target object/facet does not support the requested type.
- Return type:
Awaitable[ObjectPrx | None]
-
static uncheckedCast(proxy: ObjectPrx, facet: str | None = None) → ProcessPrx
-
static uncheckedCast(proxy: None, facet: str | None = None) → None
Creates a new proxy from an existing proxy.
- Parameters:
-
- Returns:
A new proxy with the requested facet, or None if the source proxy is None.
- Return type:
ObjectPrx | None
-
static ice_staticId() → str
Returns the Slice type ID associated with this type.
- Returns:
The Slice type ID.
- Return type:
str