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

◆ setObserversByIdentityAsync()

virtual void IceGrid::AsyncAdminSession::setObserversByIdentityAsync ( ::Ice::Identity registryObs,
::Ice::Identity nodeObs,
::Ice::Identity appObs,
::Ice::Identity adptObs,
::Ice::Identity objObs,
std::function< void()> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

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

This operation should be used by clients that are using a bidirectional connection to communicate with the session.

Parameters
registryObsThe registry observer identity.
nodeObsThe node observer identity.
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.