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

◆ startServer()

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

Starts a server and waits for its activation.

Parameters
idThe server id.
contextThe request context.
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.
IceGrid::ServerStartExceptionThrown when the server startup failed.