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

◆ sendSignal()

void IceGrid::AdminPrx::sendSignal ( std::string_view id,
std::string_view signal,
const Ice::Context & context = Ice::noExplicitContext ) const

Sends a signal to a server.

Parameters
idThe server ID.
signalThe signal, for example SIGTERM or 15.
contextThe request context.
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.