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

◆ setObserversAsync() [2/2]

std::function< void()> IceGrid::AdminSessionPrx::setObserversAsync ( const std::optional< RegistryObserverPrx > & registryObs,
const std::optional< NodeObserverPrx > & nodeObs,
const std::optional< ApplicationObserverPrx > & appObs,
const std::optional< AdapterObserverPrx > & adptObs,
const std::optional< ObjectObserverPrx > & objObs,
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

Sets the observer proxies that receive notifications when the state of the registry or nodes changes.

Parameters
registryObsThe registry observer.
nodeObsThe node observer.
appObsThe application observer.
adptObsThe adapter observer.
objObsThe object observer.
responseThe response callback.
exceptionThe exception callback.
sentThe sent callback.
contextThe request context.
Returns
A function that can be called to cancel the invocation locally.