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 StringReturns 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 StringReturns the Slice type ID of the interface supported by this object.voidThenodeDownoperation is called to notify an observer that a node went down.voidnodeInit(NodeDynamicInfo[] nodes, Current current) ThenodeInitoperation indicates the current state of nodes.voidnodeUp(NodeDynamicInfo node, Current current) ThenodeUpoperation is called to notify an observer that a node came up.voidupdateAdapter(String node, AdapterDynamicInfo updatedInfo, Current current) TheupdateAdapteroperation is called to notify an observer that the state of an adapter changed.voidupdateServer(String node, ServerDynamicInfo updatedInfo, Current current) TheupdateServeroperation 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
ThenodeInitoperation 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
ThenodeUpoperation is called to notify an observer that a node came up.- Parameters:
node- The node state.current- The Current object for the invocation.
-
nodeDown
ThenodeDownoperation is called to notify an observer that a node went down.- Parameters:
name- The node name.current- The Current object for the invocation.
-
updateServer
TheupdateServeroperation 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
TheupdateAdapteroperation 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:ObjectReturns the Slice type IDs of the interfaces supported by this object. -
ice_id
Description copied from interface:ObjectReturns the Slice type ID of the most-derived interface supported by this object. -
ice_staticId
Description copied from interface:ObjectReturns the Slice type ID of the interface supported by this object.- Returns:
- The return value is always ::Ice::Object.
-