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

◆ pingNodeAsync()

virtual void IceGrid::AsyncAdmin::pingNodeAsync ( std::string name,
std::function< void(bool returnValue)> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current ) const
pure virtual

Pings an IceGrid node to see if it is active.

Parameters
nameThe node name.
responseThe response callback. It accepts:
  • true if the node ping succeeded, false otherwise.
exceptionThe exception callback.
currentThe Current object of the incoming request.
Exceptions
IceGrid::NodeNotExistExceptionThrown when the node doesn't exist.