std::function< void()> IceBox::ServiceManagerPrx::addObserverAsync | ( | const std::optional< ServiceObserverPrx > & | observer, |
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 |
Registers a new observer with this service manager.
observer | The new observer. |
response | The response callback. |
exception | The exception callback. |
sent | The sent callback. |
context | The request context. |