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

◆ getServerState()

ServerState IceGrid::AdminPrx::getServerState ( std::string_view id,
const Ice::Context & context = Ice::noExplicitContext ) const

Gets the state of a server.

Parameters
idThe server ID.
contextThe request context.
Returns
The server state.
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.