Documentation for Ice 3.4. The latest release is Ice 3.7. Refer to the space directory for other releases.


IceGrid::ObjectObserver

Overview

interface ObjectObserver

This interface allows applications to monitor IceGrid well-known objects.

Operation Index

objectInitobjectInit is called after the registration of an observer to indicate the state of the registry.
objectAdded — The objectAdded operation is called to notify an observer when an object was added to the IceGrid::Admin interface.
objectUpdatedobjectUpdated is called to notify an observer when an object registered with the IceGrid::Admin interface was updated.
objectRemovedobjectRemoved is called to notify an observer when an object registered with the IceGrid::Admin interface was removed.

Operations

void objectInit(IceGrid::ObjectInfoSeq objects)

objectInit is called after the registration of an observer to indicate the state of the registry.

Parameters

objects — The objects registered with the IceGrid::Admin interface (not through the deployment mechanism).

void objectAdded(IceGrid::ObjectInfo info)

The objectAdded operation is called to notify an observer when an object was added to the IceGrid::Admin interface.

Parameters

info — The details of the added object.

void objectUpdated(IceGrid::ObjectInfo info)

objectUpdated is called to notify an observer when an object registered with the IceGrid::Admin interface was updated.

Parameters

info — The details of the updated object.

void objectRemoved(Ice::Identity id)

objectRemoved is called to notify an observer when an object registered with the IceGrid::Admin interface was removed.

Parameters

id — The identity of the removed object.


  • No labels