Ice 3.7 Slice API Reference
Operations | List of all members
IceGrid::ApplicationObserver Interface Reference

The database observer interface. More...

defined in <IceGrid/Admin.ice>

interface ApplicationObserver { ... }

Operations

void applicationAdded (int serial, ApplicationInfo desc)
 The applicationAdded operation is called to notify an observer that an application was added. More...
 
void applicationInit (int serial, ApplicationInfoSeq applications)
 applicationInit is called after the registration of an observer to indicate the state of the registry. More...
 
void applicationRemoved (int serial, string name)
 The applicationRemoved operation is called to notify an observer that an application was removed. More...
 
void applicationUpdated (int serial, ApplicationUpdateInfo desc)
 The applicationUpdated operation is called to notify an observer that an application was updated. More...
 

Detailed Description

The database observer interface.

Observers should implement this interface to receive information about the state of the IceGrid registry database.

Operation Documentation

◆ applicationAdded()

void applicationAdded ( int  serial,
ApplicationInfo  desc 
)

The applicationAdded operation is called to notify an observer that an application was added.

Parameters
serialThe new serial number of the registry database.
descThe descriptor of the new application.

◆ applicationInit()

void applicationInit ( int  serial,
ApplicationInfoSeq  applications 
)

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

Parameters
serialThe current serial number of the registry database. This serial number allows observers to make sure that their internal state is synchronized with the registry.
applicationsThe applications currently registered with the registry.

◆ applicationRemoved()

void applicationRemoved ( int  serial,
string  name 
)

The applicationRemoved operation is called to notify an observer that an application was removed.

Parameters
serialThe new serial number of the registry database.
nameThe name of the application that was removed.

◆ applicationUpdated()

void applicationUpdated ( int  serial,
ApplicationUpdateInfo  desc 
)

The applicationUpdated operation is called to notify an observer that an application was updated.

Parameters
serialThe new serial number of the registry database.
descThe descriptor of the update.

The documentation for this interface was generated from the following file: