Interface NodeObserver

All Superinterfaces:
Object

public interface NodeObserver extends Object
The node observer interface. Observers should implement this interface to receive information about the state of the IceGrid nodes.
  • Method Details

    • nodeInit

      void nodeInit(NodeDynamicInfo[] nodes, Current current)
      The nodeInit 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

      void nodeUp(NodeDynamicInfo node, Current current)
      The nodeUp 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

      void nodeDown(String name, Current current)
      The nodeDown 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

      void updateServer(String node, ServerDynamicInfo updatedInfo, Current current)
      The updateServer 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

      void updateAdapter(String node, AdapterDynamicInfo updatedInfo, Current current)
      The updateAdapter 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

      default String[] ice_ids(Current current)
      Description copied from interface: Object
      Returns the Slice type IDs of the interfaces supported by this object.
      Specified by:
      ice_ids in interface Object
      Parameters:
      current - The Current object for the invocation.
      Returns:
      The Slice type IDs of the interfaces supported by this object, in base-to-derived order. The first element of the returned array is always ::Ice::Object.
    • ice_id

      default String ice_id(Current current)
      Description copied from interface: Object
      Returns the Slice type ID of the most-derived interface supported by this object.
      Specified by:
      ice_id in interface Object
      Parameters:
      current - The Current object for the invocation.
      Returns:
      The Slice type ID of the most-derived interface.
    • ice_staticId

      static String 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.