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.
registryObs | The registry observer. |
nodeObs | The node observer. |
appObs | The application observer. |
adptObs | The adapter observer. |
objObs | The object observer. |
context | The request context. |
IceGrid::ObserverAlreadyRegisteredException | Thrown when an observer is already registered with this registry. |