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

◆ setObservers()

void IceGrid::AdminSessionPrx::setObservers ( 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,
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.
contextThe request context.
Exceptions
IceGrid::ObserverAlreadyRegisteredExceptionThrown when an observer is already registered with this registry.