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

◆ isServerEnabled()

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

Checks if the server is enabled or disabled.

Parameters
idThe server ID.
contextThe request context.
Returns
true if the server is enabled, false otherwise.
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.