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

◆ isServerEnabledAsync()

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

Checks if the server is enabled or disabled.

Parameters
idThe server ID.
responseThe response callback. It accepts:
  • true if the server is enabled, false otherwise.
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.