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

◆ getServerAdminAsync()

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

Gets a proxy to the admin object of a server.

Parameters
idThe server ID.
responseThe response callback. It accepts:
  • A proxy to the admin object of the server. This proxy is never null.
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.