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

◆ startServiceAsync()

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

Starts a service.

Parameters
serviceThe service name.
responseThe response callback.
exceptionThe exception callback.
currentThe Current object of the incoming request.
Exceptions
IceBox::AlreadyStartedExceptionThrown when the service is already running.
IceBox::NoSuchServiceExceptionThrown when IceBox does not know a service named service.