#include <ServerData.h>
Public Types | |
| typedef NodeData< FountainNodes::Statistics > | NodeDataType |
| 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 | |
| HashTable & | nodeMonitorDatabase_ |
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.
|
|
|
Populates the node monitor database with default information read from the nodelist file.
|
|
|
Reference to the Fountain server's node monitor data structure |
1.4.6