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

◆ startServerAsync()

virtual void IceGrid::AsyncAdmin::startServerAsync ( std::string id,
std::function< void()> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

Starts a server and waits for its activation.

Parameters
idThe server id.
responseThe response callback.
exceptionThe exception callback.
currentThe Current object of the incoming request.
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.