Package com.zeroc.IceGrid
Interface NodeObserver
- All Superinterfaces:
Object
The node observer interface. Observers should implement this
interface to receive information about the state of the IceGrid
nodes.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.void
ThenodeDown
operation is called to notify an observer that a node went down.void
nodeInit
(NodeDynamicInfo[] nodes, Current current) ThenodeInit
operation indicates the current state of nodes.void
nodeUp
(NodeDynamicInfo node, Current current) ThenodeUp
operation is called to notify an observer that a node came up.void
updateAdapter
(String node, AdapterDynamicInfo updatedInfo, Current current) TheupdateAdapter
operation is called to notify an observer that the state of an adapter changed.void
updateServer
(String node, ServerDynamicInfo updatedInfo, Current current) TheupdateServer
operation is called to notify an observer that the state of a server changed.Methods inherited from interface com.zeroc.Ice.Object
ice_dispatch, ice_isA, ice_ping
-
Method Details
-
nodeInit
ThenodeInit
operation indicates the current state of nodes. It is called after the registration of an observer.- Parameters:
nodes
- The current state of the nodes.current
- The Current object for the invocation.
-
nodeUp
ThenodeUp
operation is called to notify an observer that a node came up.- Parameters:
node
- The node state.current
- The Current object for the invocation.
-
nodeDown
ThenodeDown
operation is called to notify an observer that a node went down.- Parameters:
name
- The node name.current
- The Current object for the invocation.
-
updateServer
TheupdateServer
operation is called to notify an observer that the state of a server changed.- Parameters:
node
- The node hosting the server.updatedInfo
- The new server state.current
- The Current object for the invocation.
-
updateAdapter
TheupdateAdapter
operation is called to notify an observer that the state of an adapter changed.- Parameters:
node
- The node hosting the adapter.updatedInfo
- The new adapter state.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.
-