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

◆ isServiceRunningAsync()

virtual void IceBox::AsyncServiceManager::isServiceRunningAsync ( std::string service,
std::function< void(bool returnValue)> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

Returns whether a service is running.

Parameters
serviceThe name of the service to check.
responseThe response callback. It accepts:
  • true if the service was started and not stopped; otherwise false.
exceptionThe exception callback.
currentThe Current object of the incoming request.
Exceptions
IceBox::NoSuchServiceExceptionThrown when IceBox does not know a service named service.