Public Member Functions

GridClientTopologyListener Class Reference

#include <gridclienttopologylistener.hpp>

List of all members.

Public Member Functions

virtual ~GridClientTopologyListener ()
virtual void onNodeAdded (const GridClientNode &node)=0
virtual void onNodeRemoved (const GridClientNode &node)=0

Detailed Description

Listener interface for notifying on nodes joining or leaving remote grid.

Since the topology refresh is performed in background, the listeners will not be notified immediately after the node leaves grid. The maximum time window between the remote grid detects topology change and client receives topology update is GridClientConfiguration#getTopologyRefreshFrequency().


Constructor & Destructor Documentation

virtual GridClientTopologyListener::~GridClientTopologyListener (  )  [inline, virtual]

Virtual destructor.


Member Function Documentation

virtual void GridClientTopologyListener::onNodeAdded ( const GridClientNode &  node  )  [pure virtual]

Callback for new nodes joining the remote grid.

Parameters:
node New remote node.
virtual void GridClientTopologyListener::onNodeRemoved ( const GridClientNode &  node  )  [pure virtual]

Callback for nodes leaving the remote grid.

Parameters:
node Left node.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends