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

◆ getServerStateAsync()

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

Gets the state of a server.

Parameters
idThe server ID.
responseThe response callback. It accepts:
  • The server state.
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.