IceGrid.AdminPrx¶
- class IceGrid.AdminPrx¶
Bases:
ObjectPrxProvides administrative access to an IceGrid deployment.
Notes
The Slice compiler generated this proxy class from Slice interface
::IceGrid::Admin.- addApplication(descriptor: ApplicationDescriptor, context: dict[str, str] | None = None) None¶
Adds an application to IceGrid.
- Parameters:
descriptor (ApplicationDescriptor) – The application descriptor.
context (dict[str, str]) – The request context for the invocation.
- Raises:
AccessDeniedException – Thrown when the session doesn’t hold the exclusive lock or when another session is holding the lock.
DeploymentException – Thrown when the application deployment failed.
- Return type:
None
- addApplicationAsync(descriptor: ApplicationDescriptor, context: dict[str, str] | None = None) Awaitable[None]¶
Adds an application to IceGrid.
- Parameters:
descriptor (ApplicationDescriptor) – The application descriptor.
context (dict[str, str]) – The request context for the invocation.
- Returns:
An awaitable that is completed when the invocation completes.
- Return type:
Awaitable[None]
- syncApplication(descriptor: ApplicationDescriptor, context: dict[str, str] | None = None) None¶
Synchronizes a deployed application. This operation replaces the current descriptor with a new descriptor.
- Parameters:
descriptor (ApplicationDescriptor) – The new application descriptor.
context (dict[str, str]) – The request context for the invocation.
- Raises:
AccessDeniedException – Thrown when the session doesn’t hold the exclusive lock or when another session is holding the lock.
ApplicationNotExistException – Thrown when the application doesn’t exist.
DeploymentException – Thrown when the application deployment failed.
- Return type:
None
- syncApplicationAsync(descriptor: ApplicationDescriptor, context: dict[str, str] | None = None) Awaitable[None]¶
Synchronizes a deployed application. This operation replaces the current descriptor with a new descriptor.
- Parameters:
descriptor (ApplicationDescriptor) – The new application descriptor.
context (dict[str, str]) – The request context for the invocation.
- Returns:
An awaitable that is completed when the invocation completes.
- Return type:
Awaitable[None]
- updateApplication(descriptor: ApplicationUpdateDescriptor, context: dict[str, str] | None = None) None¶
Updates a deployed application.
- Parameters:
descriptor (ApplicationUpdateDescriptor) – The update descriptor.
context (dict[str, str]) – The request context for the invocation.
- Raises:
AccessDeniedException – Thrown when the session doesn’t hold the exclusive lock or when another session is holding the lock.
ApplicationNotExistException – Thrown when the application doesn’t exist.
DeploymentException – Thrown when the application deployment failed.
- Return type:
None
- updateApplicationAsync(descriptor: ApplicationUpdateDescriptor, context: dict[str, str] | None = None) Awaitable[None]¶
Updates a deployed application.
- Parameters:
descriptor (ApplicationUpdateDescriptor) – The update descriptor.
context (dict[str, str]) – The request context for the invocation.
- Returns:
An awaitable that is completed when the invocation completes.
- Return type:
Awaitable[None]
- syncApplicationWithoutRestart(descriptor: ApplicationDescriptor, context: dict[str, str] | None = None) None¶
Synchronizes a deployed application. This operation replaces the current descriptor with a new descriptor only if no server restarts are necessary for the update of the application. If some servers need to be restarted, the synchronization is rejected with a DeploymentException.
- Parameters:
descriptor (ApplicationDescriptor) – The application descriptor.
context (dict[str, str]) – The request context for the invocation.
- Raises:
AccessDeniedException – Thrown when the session doesn’t hold the exclusive lock or when another session is holding the lock.
ApplicationNotExistException – Thrown when the application doesn’t exist.
DeploymentException – Thrown when the application deployment failed.
- Return type:
None
- syncApplicationWithoutRestartAsync(descriptor: ApplicationDescriptor, context: dict[str, str] | None = None) Awaitable[None]¶
Synchronizes a deployed application. This operation replaces the current descriptor with a new descriptor only if no server restarts are necessary for the update of the application. If some servers need to be restarted, the synchronization is rejected with a DeploymentException.
- Parameters:
descriptor (ApplicationDescriptor) – The application descriptor.
context (dict[str, str]) – The request context for the invocation.
- Returns:
An awaitable that is completed when the invocation completes.
- Return type:
Awaitable[None]
- updateApplicationWithoutRestart(descriptor: ApplicationUpdateDescriptor, context: dict[str, str] | None = None) None¶
Updates a deployed application. This operation succeeds only when no server restarts are necessary for the update of the application. If some servers need to be restarted, the synchronization is rejected with a DeploymentException.
- Parameters:
descriptor (ApplicationUpdateDescriptor) – The update descriptor.
context (dict[str, str]) – The request context for the invocation.
- Raises:
AccessDeniedException – Thrown when the session doesn’t hold the exclusive lock or when another session is holding the lock.
ApplicationNotExistException – Thrown when the application doesn’t exist.
DeploymentException – Thrown when the application deployment failed.
- Return type:
None
- updateApplicationWithoutRestartAsync(descriptor: ApplicationUpdateDescriptor, context: dict[str, str] | None = None) Awaitable[None]¶
Updates a deployed application. This operation succeeds only when no server restarts are necessary for the update of the application. If some servers need to be restarted, the synchronization is rejected with a DeploymentException.
- Parameters:
descriptor (ApplicationUpdateDescriptor) – The update descriptor.
context (dict[str, str]) – The request context for the invocation.
- Returns:
An awaitable that is completed when the invocation completes.
- Return type:
Awaitable[None]
- removeApplication(name: str, context: dict[str, str] | None = None) None¶
Removes an application from IceGrid.
- Parameters:
- Raises:
AccessDeniedException – Thrown when the session doesn’t hold the exclusive lock or when another session is holding the lock.
ApplicationNotExistException – Thrown when the application doesn’t exist.
DeploymentException – Thrown when the application deployment failed.
- Return type:
None
- removeApplicationAsync(name: str, context: dict[str, str] | None = None) Awaitable[None]¶
Removes an application from IceGrid.
- instantiateServer(application: str, node: str, desc: ServerInstanceDescriptor, context: dict[str, str] | None = None) None¶
Instantiates a server template.
- Parameters:
- Raises:
AccessDeniedException – Thrown when the session doesn’t hold the exclusive lock or when another session is holding the lock.
ApplicationNotExistException – Thrown when the application doesn’t exist.
DeploymentException – Thrown when the application deployment failed.
- Return type:
None
- instantiateServerAsync(application: str, node: str, desc: ServerInstanceDescriptor, context: dict[str, str] | None = None) Awaitable[None]¶
Instantiates a server template.
- Parameters:
- Returns:
An awaitable that is completed when the invocation completes.
- Return type:
Awaitable[None]
- getApplicationInfo(name: str, context: dict[str, str] | None = None) ApplicationInfo¶
Gets an application descriptor.
- Parameters:
- Returns:
The application descriptor.
- Return type:
- Raises:
ApplicationNotExistException – Thrown when the application doesn’t exist.
- getApplicationInfoAsync(name: str, context: dict[str, str] | None = None) Awaitable[ApplicationInfo]¶
Gets an application descriptor.
- Parameters:
- Returns:
The application descriptor.
- Return type:
Awaitable[ApplicationInfo]
- getDefaultApplicationDescriptor(context: dict[str, str] | None = None) ApplicationDescriptor¶
Gets the default application descriptor.
- Parameters:
context (dict[str, str]) – The request context for the invocation.
- Returns:
The default application descriptor.
- Return type:
- Raises:
DeploymentException – Thrown when the default application descriptor is invalid or unreachable.
- getDefaultApplicationDescriptorAsync(context: dict[str, str] | None = None) Awaitable[ApplicationDescriptor]¶
Gets the default application descriptor.
- Parameters:
context (dict[str, str]) – The request context for the invocation.
- Returns:
The default application descriptor.
- Return type:
Awaitable[ApplicationDescriptor]
- getAllApplicationNames(context: dict[str, str] | None = None) list[str]¶
Gets all the IceGrid applications currently registered.
- getAllApplicationNamesAsync(context: dict[str, str] | None = None) Awaitable[list[str]]¶
Gets all the IceGrid applications currently registered.
- getServerInfo(id: str, context: dict[str, str] | None = None) ServerInfo¶
Gets information about a server.
- Parameters:
- Returns:
The server information.
- Return type:
- Raises:
ServerNotExistException – Thrown when the server doesn’t exist.
- getServerInfoAsync(id: str, context: dict[str, str] | None = None) Awaitable[ServerInfo]¶
Gets information about a server.
- Parameters:
- Returns:
The server information.
- Return type:
Awaitable[ServerInfo]
- getServerState(id: str, context: dict[str, str] | None = None) ServerState¶
Gets the state of a server.
- Parameters:
- Returns:
The server state.
- Return type:
- Raises:
DeploymentException – Thrown when the deployment of the server failed.
NodeUnreachableException – Thrown when the node is unreachable.
ServerNotExistException – Thrown when the server doesn’t exist.
- getServerStateAsync(id: str, context: dict[str, str] | None = None) Awaitable[ServerState]¶
Gets the state of a server.
- Parameters:
- Returns:
The server state.
- Return type:
Awaitable[ServerState]
- getServerPid(id: str, context: dict[str, str] | None = None) int¶
Gets the system process ID of a server. The process ID is operating system dependent.
- Parameters:
- Returns:
The process ID.
- Return type:
- Raises:
DeploymentException – Thrown when the deployment of the server failed.
NodeUnreachableException – Thrown when the node is unreachable.
ServerNotExistException – Thrown when the server doesn’t exist.
- getServerPidAsync(id: str, context: dict[str, str] | None = None) Awaitable[int]¶
Gets the system process ID of a server. The process ID is operating system dependent.
- getServerAdminCategory(context: dict[str, str] | None = None) str¶
Gets the category for server admin objects. You can manufacture a server admin proxy from the admin proxy by changing its identity: use the server ID as name and the returned category as category.
- getServerAdminCategoryAsync(context: dict[str, str] | None = None) Awaitable[str]¶
Gets the category for server admin objects. You can manufacture a server admin proxy from the admin proxy by changing its identity: use the server ID as name and the returned category as category.
- getServerAdmin(id: str, context: dict[str, str] | None = None) ObjectPrx | None¶
Gets a proxy to the admin object of a server.
- Parameters:
- Returns:
A proxy to the admin object of the server. This proxy is never null.
- Return type:
ObjectPrx | None
- Raises:
DeploymentException – Thrown when the deployment of the server failed.
NodeUnreachableException – Thrown when the node is unreachable.
ServerNotExistException – Thrown when the server doesn’t exist.
- getServerAdminAsync(id: str, context: dict[str, str] | None = None) Awaitable[ObjectPrx | None]¶
Gets a proxy to the admin object of a server.
- enableServer(id: str, enabled: bool, context: dict[str, str] | None = None) None¶
Enables or disables a server. A disabled server can’t be started on demand or administratively. The enable state of the server is not persistent: if the node is shut down and restarted, the server will be enabled by default.
- Parameters:
- Raises:
DeploymentException – Thrown when the deployment of the server failed.
NodeUnreachableException – Thrown when the node is unreachable.
ServerNotExistException – Thrown when the server doesn’t exist.
- Return type:
None
- enableServerAsync(id: str, enabled: bool, context: dict[str, str] | None = None) Awaitable[None]¶
Enables or disables a server. A disabled server can’t be started on demand or administratively. The enable state of the server is not persistent: if the node is shut down and restarted, the server will be enabled by default.
- isServerEnabled(id: str, context: dict[str, str] | None = None) bool¶
Checks if the server is enabled or disabled.
- Parameters:
- Returns:
trueif the server is enabled,falseotherwise.- Return type:
- Raises:
DeploymentException – Thrown when the deployment of the server failed.
NodeUnreachableException – Thrown when the node is unreachable.
ServerNotExistException – Thrown when the server doesn’t exist.
- isServerEnabledAsync(id: str, context: dict[str, str] | None = None) Awaitable[bool]¶
Checks if the server is enabled or disabled.
- startServer(id: str, context: dict[str, str] | None = None) None¶
Starts a server and waits for its activation.
- Parameters:
- Raises:
DeploymentException – Thrown when the deployment of the server failed.
NodeUnreachableException – Thrown when the node is unreachable.
ServerNotExistException – Thrown when the server doesn’t exist.
ServerStartException – Thrown when the server startup failed.
- Return type:
None
- startServerAsync(id: str, context: dict[str, str] | None = None) Awaitable[None]¶
Starts a server and waits for its activation.
- stopServer(id: str, context: dict[str, str] | None = None) None¶
Stops a server.
- Parameters:
- Raises:
DeploymentException – Thrown when the deployment of the server failed.
NodeUnreachableException – Thrown when the node is unreachable.
ServerNotExistException – Thrown when the server doesn’t exist.
ServerStopException – Thrown when the server stop failed.
- Return type:
None
- sendSignal(id: str, signal: str, context: dict[str, str] | None = None) None¶
Sends a signal to a server.
- Parameters:
- Raises:
BadSignalException – Thrown when the signal is not recognized by the target server.
DeploymentException – Thrown when the deployment of the server failed.
NodeUnreachableException – Thrown when the node is unreachable.
ServerNotExistException – Thrown when the server doesn’t exist.
- Return type:
None
- sendSignalAsync(id: str, signal: str, context: dict[str, str] | None = None) Awaitable[None]¶
Sends a signal to a server.
- getAllServerIds(context: dict[str, str] | None = None) list[str]¶
Gets the IDs of all the servers registered with IceGrid.
- getAllServerIdsAsync(context: dict[str, str] | None = None) Awaitable[list[str]]¶
Gets the IDs of all the servers registered with IceGrid.
- getAdapterInfo(id: str, context: dict[str, str] | None = None) list[AdapterInfo]¶
Gets adapter information for the replica group or adapter with the given ID.
- Parameters:
- Returns:
A sequence of AdapterInfo. If
idrefers to an adapter, this sequence contains a single element. Ifidrefers to a replica group, this sequence contains adapter information for each member of the replica group.- Return type:
- Raises:
AdapterNotExistException – Thrown when the adapter or replica group doesn’t exist.
- getAdapterInfoAsync(id: str, context: dict[str, str] | None = None) Awaitable[list[AdapterInfo]]¶
Gets adapter information for the replica group or adapter with the given ID.
- Parameters:
- Returns:
A sequence of AdapterInfo. If
idrefers to an adapter, this sequence contains a single element. Ifidrefers to a replica group, this sequence contains adapter information for each member of the replica group.- Return type:
Awaitable[list[AdapterInfo]]
- removeAdapter(id: str, context: dict[str, str] | None = None) None¶
Removes the adapter with the given ID.
- Parameters:
- Raises:
AdapterNotExistException – Thrown when the adapter doesn’t exist.
DeploymentException – Thrown when the application deployment failed.
- Return type:
None
- removeAdapterAsync(id: str, context: dict[str, str] | None = None) Awaitable[None]¶
Removes the adapter with the given ID.
- getAllAdapterIds(context: dict[str, str] | None = None) list[str]¶
Gets the IDs of all adapters registered with IceGrid.
- getAllAdapterIdsAsync(context: dict[str, str] | None = None) Awaitable[list[str]]¶
Gets the IDs of all adapters registered with IceGrid.
- addObject(obj: ObjectPrx | None, context: dict[str, str] | None = None) None¶
Adds an object to the object registry. IceGrid gets the object type by calling
ice_idonobj. The object must be reachable.- Parameters:
- Raises:
DeploymentException – Thrown when the object can’t be added.
ObjectExistsException – Thrown when the object is already registered.
- Return type:
None
- addObjectAsync(obj: ObjectPrx | None, context: dict[str, str] | None = None) Awaitable[None]¶
Adds an object to the object registry. IceGrid gets the object type by calling
ice_idonobj. The object must be reachable.
- updateObject(obj: ObjectPrx | None, context: dict[str, str] | None = None) None¶
Updates an object in the object registry. Only objects added with this interface can be updated with this operation. Objects added with deployment descriptors should be updated with the deployment mechanism.
- Parameters:
- Raises:
DeploymentException – Thrown when the object can’t be updated.
ObjectNotRegisteredException – Thrown when the object isn’t registered with the registry.
- Return type:
None
- updateObjectAsync(obj: ObjectPrx | None, context: dict[str, str] | None = None) Awaitable[None]¶
Updates an object in the object registry. Only objects added with this interface can be updated with this operation. Objects added with deployment descriptors should be updated with the deployment mechanism.
- addObjectWithType(obj: ObjectPrx | None, type: str, context: dict[str, str] | None = None) None¶
Adds an object to the object registry and explicitly specifies its type.
- Parameters:
- Raises:
DeploymentException – Thrown when the application deployment failed.
ObjectExistsException – Thrown when the object is already registered.
- Return type:
None
- addObjectWithTypeAsync(obj: ObjectPrx | None, type: str, context: dict[str, str] | None = None) Awaitable[None]¶
Adds an object to the object registry and explicitly specifies its type.
- removeObject(id: Identity, context: dict[str, str] | None = None) None¶
Removes an object from the object registry. Only objects added with this interface can be removed with this operation. Objects added with deployment descriptors should be removed with the deployment mechanism.
- Parameters:
- Raises:
DeploymentException – Thrown when the object can’t be removed.
ObjectNotRegisteredException – Thrown when the object isn’t registered with the registry.
- Return type:
None
- removeObjectAsync(id: Identity, context: dict[str, str] | None = None) Awaitable[None]¶
Removes an object from the object registry. Only objects added with this interface can be removed with this operation. Objects added with deployment descriptors should be removed with the deployment mechanism.
- getObjectInfo(id: Identity, context: dict[str, str] | None = None) ObjectInfo¶
Gets the object info for the object.
- Parameters:
- Returns:
The object info.
- Return type:
- Raises:
ObjectNotRegisteredException – Thrown when the object isn’t registered with the registry.
- getObjectInfoAsync(id: Identity, context: dict[str, str] | None = None) Awaitable[ObjectInfo]¶
Gets the object info for the object.
- Parameters:
- Returns:
The object info.
- Return type:
Awaitable[ObjectInfo]
- getObjectInfosByType(type: str, context: dict[str, str] | None = None) list[ObjectInfo]¶
Gets the object info of all the registered objects with a given type.
- getObjectInfosByTypeAsync(type: str, context: dict[str, str] | None = None) Awaitable[list[ObjectInfo]]¶
Gets the object info of all the registered objects with a given type.
- getAllObjectInfos(expr: str, context: dict[str, str] | None = None) list[ObjectInfo]¶
Gets the object info of all the registered objects whose stringified identities match the given expression.
- Parameters:
- Returns:
All the object infos with a stringified identity matching the given expression.
- Return type:
- getAllObjectInfosAsync(expr: str, context: dict[str, str] | None = None) Awaitable[list[ObjectInfo]]¶
Gets the object info of all the registered objects whose stringified identities match the given expression.
- Parameters:
- Returns:
All the object infos with a stringified identity matching the given expression.
- Return type:
Awaitable[list[ObjectInfo]]
- pingNode(name: str, context: dict[str, str] | None = None) bool¶
Pings an IceGrid node to see if it is active.
- pingNodeAsync(name: str, context: dict[str, str] | None = None) Awaitable[bool]¶
Pings an IceGrid node to see if it is active.
- getNodeLoad(name: str, context: dict[str, str] | None = None) LoadInfo¶
Gets the load averages of a node.
- Parameters:
- Returns:
The node load information.
- Return type:
- Raises:
NodeNotExistException – Thrown when the node doesn’t exist.
NodeUnreachableException – Thrown when the node is unreachable.
- getNodeLoadAsync(name: str, context: dict[str, str] | None = None) Awaitable[LoadInfo]¶
Gets the load averages of a node.
- getNodeInfo(name: str, context: dict[str, str] | None = None) NodeInfo¶
Gets the node information of a node.
- Parameters:
- Returns:
The node information.
- Return type:
- Raises:
NodeNotExistException – Thrown when the node doesn’t exist.
NodeUnreachableException – Thrown when the node is unreachable.
- getNodeInfoAsync(name: str, context: dict[str, str] | None = None) Awaitable[NodeInfo]¶
Gets the node information of a node.
- getNodeAdmin(name: str, context: dict[str, str] | None = None) ObjectPrx | None¶
Gets a proxy to the admin object of an IceGrid node.
- Parameters:
- Returns:
A proxy to the IceGrid node’s admin object. This proxy is never null.
- Return type:
ObjectPrx | None
- Raises:
NodeNotExistException – Thrown when the node doesn’t exist.
NodeUnreachableException – Thrown when the node is unreachable.
- getNodeAdminAsync(name: str, context: dict[str, str] | None = None) Awaitable[ObjectPrx | None]¶
Gets a proxy to the admin object of an IceGrid node.
- getNodeProcessorSocketCount(name: str, context: dict[str, str] | None = None) int¶
Gets the number of physical processor sockets in the computer where an IceGrid node is deployed. Note that this operation returns 1 on operating systems where this can’t be automatically determined and where the
IceGrid.Node.ProcessorSocketCountproperty for the node is not set.- Parameters:
- Returns:
The number of processor sockets or 1 if the number of sockets can’t be determined.
- Return type:
- Raises:
NodeNotExistException – Thrown when the node doesn’t exist.
NodeUnreachableException – Thrown when the node is unreachable.
- getNodeProcessorSocketCountAsync(name: str, context: dict[str, str] | None = None) Awaitable[int]¶
Gets the number of physical processor sockets in the computer where an IceGrid node is deployed. Note that this operation returns 1 on operating systems where this can’t be automatically determined and where the
IceGrid.Node.ProcessorSocketCountproperty for the node is not set.
- shutdownNode(name: str, context: dict[str, str] | None = None) None¶
Shuts down an IceGrid node.
- Parameters:
- Raises:
NodeNotExistException – Thrown when the node doesn’t exist.
NodeUnreachableException – Thrown when the node is unreachable.
- Return type:
None
- shutdownNodeAsync(name: str, context: dict[str, str] | None = None) Awaitable[None]¶
Shuts down an IceGrid node.
- getNodeHostname(name: str, context: dict[str, str] | None = None) str¶
Get the hostname of a node.
- Parameters:
- Returns:
The node hostname.
- Return type:
- Raises:
NodeNotExistException – Thrown when the node doesn’t exist.
NodeUnreachableException – Thrown when the node is unreachable.
- getNodeHostnameAsync(name: str, context: dict[str, str] | None = None) Awaitable[str]¶
Get the hostname of a node.
- getAllNodeNames(context: dict[str, str] | None = None) list[str]¶
Gets the names of all IceGrid nodes currently registered.
- getAllNodeNamesAsync(context: dict[str, str] | None = None) Awaitable[list[str]]¶
Gets the names of all IceGrid nodes currently registered.
- pingRegistry(name: str, context: dict[str, str] | None = None) bool¶
Pings an IceGrid registry to see if it is active.
- pingRegistryAsync(name: str, context: dict[str, str] | None = None) Awaitable[bool]¶
Pings an IceGrid registry to see if it is active.
- getRegistryInfo(name: str, context: dict[str, str] | None = None) RegistryInfo¶
Gets the registry information of an IceGrid registry.
- Parameters:
- Returns:
The registry information.
- Return type:
- Raises:
RegistryNotExistException – Thrown when the registry doesn’t exist.
RegistryUnreachableException – Thrown when the registry is unreachable.
- getRegistryInfoAsync(name: str, context: dict[str, str] | None = None) Awaitable[RegistryInfo]¶
Gets the registry information of an IceGrid registry.
- Parameters:
- Returns:
The registry information.
- Return type:
Awaitable[RegistryInfo]
- getRegistryAdmin(name: str, context: dict[str, str] | None = None) ObjectPrx | None¶
Gets a proxy to the admin object of an IceGrid registry.
- Parameters:
- Returns:
A proxy to the admin object of an IceGrid registry. This proxy is never null.
- Return type:
ObjectPrx | None
- Raises:
RegistryNotExistException – Thrown when the registry doesn’t exist.
- getRegistryAdminAsync(name: str, context: dict[str, str] | None = None) Awaitable[ObjectPrx | None]¶
Gets a proxy to the admin object of an IceGrid registry.
- shutdownRegistry(name: str, context: dict[str, str] | None = None) None¶
Shuts down an IceGrid registry.
- Parameters:
- Raises:
RegistryNotExistException – Thrown when the registry doesn’t exist.
RegistryUnreachableException – Thrown when the registry is unreachable.
- Return type:
None
- shutdownRegistryAsync(name: str, context: dict[str, str] | None = None) Awaitable[None]¶
Shuts down an IceGrid registry.
- getAllRegistryNames(context: dict[str, str] | None = None) list[str]¶
Gets the names of all the IceGrid registries currently registered.
- getAllRegistryNamesAsync(context: dict[str, str] | None = None) Awaitable[list[str]]¶
Gets the names of all the IceGrid registries currently registered.
- shutdownAsync(context: dict[str, str] | None = None) Awaitable[None]¶
Shuts down the IceGrid registry.
- static checkedCast(proxy: ObjectPrx | None, facet: str | None = None, context: dict[str, str] | None = None) AdminPrx | 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[AdminPrx | 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