Public Member Functions | ||||
NodeId (org::xmlBlaster::util::Global &global, const std::string &id) | ||||
NodeId (const NodeId &nodeId) | ||||
NodeId & | operator= (const NodeId &nodeId) | |||
std::string | getId () const | |||
void | setId (const std::string &id) | |||
| ||||
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 |
Definition at line 26 of file NodeId.h.
org::xmlBlaster::util::cluster::NodeId::NodeId | ( | org::xmlBlaster::util::Global & | global, | |
const std::string & | id | |||
) |
org::xmlBlaster::util::cluster::NodeId::NodeId | ( | const NodeId & | nodeId | ) |
std::string org::xmlBlaster::util::cluster::NodeId::getId | ( | ) | const |
void org::xmlBlaster::util::cluster::NodeId::setId | ( | const std::string & | id | ) |
id | The cluster node id, e.g. |
"heron".
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 |