Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

HA::NodeType Class Reference

#include <HA.h>

List of all members.


Detailed Description

Typesafe enumeration listing the different types of nodes we might want to monitor.


Public Member Functions

bool operator== (const NodeType &t) const
string as_string () const
 NodeType (string type)

Static Public Attributes

const NodeType PRIMARY = HA::NodeType("Primary")
 For process-pair style of HA.
const NodeType REPLICA = HA::NodeType("Replica")
 For replication style HA where we manually setup a bunch of replicas and tell them who they are.
const NodeType PROVIDER = HA::NodeType("Provider")
 To monitor all upstream nodes that can provide us with the content that we want.
const NodeType NONE = HA::NodeType("None")
 Default.


Constructor & Destructor Documentation

HA::NodeType::NodeType string  type  ) 
 


Member Function Documentation

string HA::NodeType::as_string  )  const
 

bool HA::NodeType::operator== const NodeType t  )  const
 


Member Data Documentation

const HA::NodeType HA::NodeType::NONE = HA::NodeType("None") [static]
 

Default.

BOREALIS_NAMESPACE_BEGIN const HA::NodeType HA::NodeType::PRIMARY = HA::NodeType("Primary") [static]
 

For process-pair style of HA.

const HA::NodeType HA::NodeType::PROVIDER = HA::NodeType("Provider") [static]
 

To monitor all upstream nodes that can provide us with the content that we want.

const HA::NodeType HA::NodeType::REPLICA = HA::NodeType("Replica") [static]
 

For replication style HA where we manually setup a bunch of replicas and tell them who they are.


The documentation for this class was generated from the following files:
Generated on Fri Nov 12 15:15:23 2004 for Borealis by doxygen 1.3.8