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

◆ sendSignalAsync()

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

Sends a signal to a server.

Parameters
idThe server ID.
signalThe signal, for example SIGTERM or 15.
responseThe response callback.
exceptionThe exception callback.
currentThe Current object of the incoming request.
Exceptions
IceGrid::BadSignalExceptionThrown when the signal is not recognized by the target server.
IceGrid::DeploymentExceptionThrown when the deployment of the server failed.
IceGrid::NodeUnreachableExceptionThrown when the node is unreachable.
IceGrid::ServerNotExistExceptionThrown when the server doesn't exist.