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.
registryObs | The registry observer. |
nodeObs | The node observer. |
appObs | The application observer. |
adptObs | The adapter observer. |
objObs | The object observer. |
response | The response callback. |
exception | The exception callback. |
sent | The sent callback. |
context | The request context. |