NoDataSource Class Reference
[Fountain server]

A class implementing the basic DataSource policy. More...

#include <ServerData.h>

List of all members.

Public Types

typedef NodeData< FountainNodes::StatisticsNodeDataType
 The data type to be used as the value of the key/value pair for the Fountain Server node monitor database.
typedef std::map< std::string,
NodeDataType
HashTable
 The type to use for the Fountain Server node monitor database.

Public Member Functions

void parseNodelistFile ()
 Populates the node monitor database with default information read from the nodelist file.

Protected Member Functions

 NoDataSource (HashTable &database)
 Constructor.
void discover ()
 Discover the data source, this method does nothing in this implementation.
void update ()
 Update the data source, this method does nothing in this implementation.
void appendInfo (BambooLib::XMLElement *, const std::string &)
 This method does nothing since there is no data source.

Private Attributes

HashTablenodeMonitorDatabase_


Detailed Description

A class implementing the basic DataSource policy.

This class implements the basic DataSource policy by having the methods essentially do nothing, the only exception is the parseNodelistFile method which performs the nodelist file parsing to populate the Fountain server node monitor database with Fountain node information.


Constructor & Destructor Documentation

NoDataSource::NoDataSource HashTable database  )  [inline, explicit, protected]
 

Constructor.

Parameters:
[in] database Reference to the Fountain server node monitor database


Member Function Documentation

void NoDataSource::parseNodelistFile  ) 
 

Populates the node monitor database with default information read from the nodelist file.

Exceptions:
FountainException if an error occurred during population


Member Data Documentation

HashTable& NoDataSource::nodeMonitorDatabase_ [private]
 

Reference to the Fountain server's node monitor data structure


The documentation for this class was generated from the following files:
Generated on Wed Mar 8 14:43:33 2006 for Fountain by  doxygen 1.4.6