Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ getServerAdmin()

std::optional< Ice::ObjectPrx > IceGrid::AdminPrx::getServerAdmin ( std::string_view id,
const Ice::Context & context = Ice::noExplicitContext ) const

Gets a proxy to the admin object of a server.

Parameters
idThe server ID.
contextThe request context.
Returns
A proxy to the admin object of the server. This proxy is never null.
Exceptions
IceGrid::DeploymentExceptionThrown when the deployment of the server failed.
IceGrid::NodeUnreachableExceptionThrown when the node is unreachable.
IceGrid::ServerNotExistExceptionThrown when the server doesn't exist.