Infiniband::Network Class Reference
[Fountain serverInfiniband discovery and monitoring]

Implementation of the NodeData Node Network policy class to represent the Network element of an Infiniband node. More...

#include <InfinibandNetwork.h>

List of all members.

Protected Member Functions

 Network (const std::string &myid)
 Constructor.
 ~Network ()
 Protected destructor since this is a policy class.
bool supportGetElement (const std::string &getElementName) const
bool satisfiesWhereElement (const std::string &name, BambooLib::RMAP_Relation_Operator_Type op, const std::string &value) const
void appendInfo (XMLElementListPtr getList, BambooLib::XMLElement *nodeXML) const
 Append this object's requested information to the named XML element.


Detailed Description

Implementation of the NodeData Node Network policy class to represent the Network element of an Infiniband node.


Constructor & Destructor Documentation

Infiniband::Network::Network const std::string &  myid  )  [inline, explicit, protected]
 

Constructor.

Parameters:
[in] myid Unique ID for this entry


Member Function Documentation

void Network::appendInfo XMLElementListPtr  getList,
BambooLib::XMLElement nodeXML
const [protected]
 

Append this object's requested information to the named XML element.

Parameters:
[in] getList The list of Get XMLElements containing the information to append
[in] nodeXML The XMLElement to append this object's information to

bool Network::satisfiesWhereElement const std::string &  name,
BambooLib::RMAP_Relation_Operator_Type  op,
const std::string &  value
const [protected]
 

Test the named Where element using the provided operator and value to see if it matches our statistics.

Parameters:
[in] name The name of the Where element to test
[in] op The relation operator to use when c omparing our value to the passed in value
[in] value The value to test against
Return values:
bool true if the comparison passes, false otherwise

bool Network::supportGetElement const std::string &  getElementName  )  const [protected]
 

Test whether or not the named Get element is supported.

Parameters:
[in] getElementName The name of the Get element
Return values:
bool true if the get element is supported, false otherwise


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