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

◆ getServerPidAsync()

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

Gets the system process ID of a server.

The process ID is operating system dependent.

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