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

◆ sendSignalAsync() [2/2]

std::function< void()> IceGrid::AdminPrx::sendSignalAsync ( std::string_view id,
std::string_view signal,
std::function< void()> response,
std::function< void(std::exception_ptr)> exception = nullptr,
std::function< void(bool)> sent = nullptr,
const Ice::Context & context = Ice::noExplicitContext ) const

Sends a signal to a server.

Parameters
idThe server ID.
signalThe signal, for example SIGTERM or 15.
responseThe response callback.
exceptionThe exception callback.
sentThe sent callback.
contextThe request context.
Returns
A function that can be called to cancel the invocation locally.