Package com.zeroc.IceGrid
Interface ApplicationObserver
- All Superinterfaces:
Object
The database observer interface. Observers should implement this
interface to receive information about the state of the IceGrid
registry database.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applicationAdded
(int serial, ApplicationInfo desc, Current current) TheapplicationAdded
operation is called to notify an observer that an application was added.void
applicationInit
(int serial, List<ApplicationInfo> applications, Current current) applicationInit
is called after the registration of an observer to indicate the state of the registry.void
applicationRemoved
(int serial, String name, Current current) TheapplicationRemoved
operation is called to notify an observer that an application was removed.void
applicationUpdated
(int serial, ApplicationUpdateInfo desc, Current current) TheapplicationUpdated
operation is called to notify an observer that an application was updated.default String
Returns the Slice type ID of the most-derived interface supported by this object.default String[]
Returns the Slice type IDs of the interfaces supported by this object.static String
Returns the Slice type ID of the interface supported by this object.Methods inherited from interface com.zeroc.Ice.Object
ice_dispatch, ice_isA, ice_ping
-
Method Details
-
applicationInit
applicationInit
is called after the registration of an observer to indicate the state of the registry.- Parameters:
serial
- The current serial number of the registry database. This serial number allows observers to make sure that their internal state is synchronized with the registry.applications
- The applications currently registered with the registry.current
- The Current object for the invocation.
-
applicationAdded
TheapplicationAdded
operation is called to notify an observer that an application was added.- Parameters:
serial
- The new serial number of the registry database.desc
- The descriptor of the new application.current
- The Current object for the invocation.
-
applicationRemoved
TheapplicationRemoved
operation is called to notify an observer that an application was removed.- Parameters:
serial
- The new serial number of the registry database.name
- The name of the application that was removed.current
- The Current object for the invocation.
-
applicationUpdated
TheapplicationUpdated
operation is called to notify an observer that an application was updated.- Parameters:
serial
- The new serial number of the registry database.desc
- The descriptor of the update.current
- The Current object for the invocation.
-
ice_ids
Description copied from interface:Object
Returns the Slice type IDs of the interfaces supported by this object. -
ice_id
Description copied from interface:Object
Returns the Slice type ID of the most-derived interface supported by this object. -
ice_staticId
Description copied from interface:Object
Returns the Slice type ID of the interface supported by this object.- Returns:
- The return value is always ::Ice::Object.
-