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

◆ setObserversAsync()

virtual void IceGrid::AsyncAdminSession::setObserversAsync ( std::optional< RegistryObserverPrx > registryObs,
std::optional< NodeObserverPrx > nodeObs,
std::optional< ApplicationObserverPrx > appObs,
std::optional< AdapterObserverPrx > adptObs,
std::optional< ObjectObserverPrx > objObs,
std::function< void()> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

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.
currentThe Current object of the incoming request.
Exceptions
IceGrid::ObserverAlreadyRegisteredExceptionThrown when an observer is already registered with this registry.