org::xmlBlaster::util::cluster::NodeId Class Reference

Collaboration diagram for org::xmlBlaster::util::cluster::NodeId:

Collaboration graph
List of all members.

Public Member Functions

 NodeId (org::xmlBlaster::util::Global &global, const std::string &id)
 NodeId (const NodeId &nodeId)
NodeIdoperator= (const NodeId &nodeId)
std::string getId () const
void setId (const std::string &id)
id The cluster node id, e.g.

std::string toString () const
bool operator< (const NodeId &nodeId) const
 Needed for use in TreeSet and TreeMap, enforced by java.lang.Comparable.
bool operator== (const NodeId &nodeId) const

Detailed Description

Definition at line 26 of file NodeId.h.

Constructor & Destructor Documentation

org::xmlBlaster::util::cluster::NodeId::NodeId ( org::xmlBlaster::util::Global global,
const std::string &  id 

org::xmlBlaster::util::cluster::NodeId::NodeId ( const NodeId nodeId  ) 

Member Function Documentation

NodeId& org::xmlBlaster::util::cluster::NodeId::operator= ( const NodeId nodeId  ) 

std::string org::xmlBlaster::util::cluster::NodeId::getId (  )  const

Referenced by org::xmlBlaster::util::cluster::NodeInfo::addBackupnode(), and org::xmlBlaster::util::cluster::NodeInfo::getId().

void org::xmlBlaster::util::cluster::NodeId::setId ( const std::string &  id  ) 

id The cluster node id, e.g.

If you pass "/node/heron/client/joe" everything ins stripped to get "heron"

std::string org::xmlBlaster::util::cluster::NodeId::toString (  )  const

bool org::xmlBlaster::util::cluster::NodeId::operator< ( const NodeId nodeId  )  const

Needed for use in TreeSet and TreeMap, enforced by java.lang.Comparable.

bool org::xmlBlaster::util::cluster::NodeId::operator== ( const NodeId nodeId  )  const

The documentation for this class was generated from the following file: