Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Znav
nextIceGrid-NodeUnreachableException
prevIceGrid-NodeNotExistException
Section


IceGrid::NodeObserver

Overview

[ "ami" ] interface NodeObserver

The node observer interface. Observers should implement this interface to receive information about the state of the IceGrid nodes.

Operation Index

nodeInit — The nodeInit operation indicates the current state of nodes.
nodeUp — The nodeUp operation is called to notify an observer that a node came up.
nodeDown — The nodeDown operation is called to notify an observer that a node went down.
updateServer — The updateServer operation is called to notify an observer that the state of a server changed.
updateAdapter — The updateAdapter operation is called to notify an observer that the state of an adapter changed.

Ztop

Operations

void
Anchor
nodeInit
nodeInit
nodeInit(IceGrid::NodeDynamicInfoSeq nodes)

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.

void
Anchor
nodeUp
nodeUp
nodeUp(IceGrid::NodeDynamicInfo node)

The nodeUp operation is called to notify an observer that a node came up.

Parameters

node — The node state.

void
Anchor
nodeDown
nodeDown
nodeDown(string name)

The nodeDown operation is called to notify an observer that a node went down.

Parameters

name — The node name.

void
Anchor
updateServer
updateServer
updateServer(string node, IceGrid::ServerDynamicInfo updatedInfo)

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.

void
Anchor
updateAdapter
updateAdapter
updateAdapter(string node, IceGrid::AdapterDynamicInfo updatedInfo)

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.

Ztop

Znav
nextIceGrid-NodeUnreachableException
prevIceGrid-NodeNotExistException
Section