Collaboration diagram for org::xmlBlaster::util::cluster::RouteInfo:
Public Member Functions | ||||
RouteInfo (org::xmlBlaster::util::Global &global) | ||||
RouteInfo (const org::xmlBlaster::util::cluster::NodeId &nodeId, int stratum, Timestamp timestamp) | ||||
| ||||
void | setNodeId (const org::xmlBlaster::util::cluster::NodeId &nodeId) | |||
The unique node name of the xmlBlaster instance. | ||||
org::xmlBlaster::util::cluster::NodeId | getNodeId () const | |||
The unique node name of the xmlBlaster instance. | ||||
std::string | getId () const | |||
The unique node name of the xmlBlaster instance. | ||||
void | setStratum (int stratum) | |||
The distance from the current xmlBlaster node from the master node (for this message). | ||||
int | getStratum () const | |||
The distance from the current xmlBlaster node from the master node (for this message). | ||||
void | setTimestamp (Timestamp timestamp) | |||
Message receive timestamp in nano seconds. | ||||
Timestamp | getTimestamp () const | |||
Message receive timestamp in nano seconds. | ||||
void | setDirtyRead (bool dirtyRead) | |||
| ||||
bool | getDirtyRead () const | |||
std::string | toXml (const std::string &extraOffset="") const | |||
Dump state of this object into a XML ASCII std::string. |
Definition at line 20 of file RouteInfo.h.
org::xmlBlaster::util::cluster::RouteInfo::RouteInfo | ( | org::xmlBlaster::util::Global & | global | ) |
Definition at line 18 of file RouteInfo.cpp.
org::xmlBlaster::util::cluster::RouteInfo::RouteInfo | ( | const org::xmlBlaster::util::cluster::NodeId & | nodeId, | |
int | stratum, | |||
Timestamp | timestamp | |||
) |
nodeId | The unique name of the xmlBlaster instance |
stratum | The distance from the node to the master node, if you don't know it set it to 0. | |
timestamp | The receive timestamp of the message (nano seconds) |
void org::xmlBlaster::util::cluster::RouteInfo::setNodeId | ( | const org::xmlBlaster::util::cluster::NodeId & | nodeId | ) |
The unique node name of the xmlBlaster instance.
org::xmlBlaster::util::cluster::NodeId org::xmlBlaster::util::cluster::RouteInfo::getNodeId | ( | ) | const |
The unique node name of the xmlBlaster instance.
std::string org::xmlBlaster::util::cluster::RouteInfo::getId | ( | ) | const |
The unique node name of the xmlBlaster instance.
The | std::string representation of my name |
void org::xmlBlaster::util::cluster::RouteInfo::setStratum | ( | int | stratum | ) |
The distance from the current xmlBlaster node from the master node (for this message).
Definition at line 49 of file RouteInfo.cpp.
int org::xmlBlaster::util::cluster::RouteInfo::getStratum | ( | ) | const |
The distance from the current xmlBlaster node from the master node (for this message).
Referenced by org::xmlBlaster::util::qos::QosData::addRouteInfo().
void org::xmlBlaster::util::cluster::RouteInfo::setTimestamp | ( | Timestamp | timestamp | ) |
Timestamp org::xmlBlaster::util::cluster::RouteInfo::getTimestamp | ( | ) | const |
Message receive timestamp in nano seconds.
void org::xmlBlaster::util::cluster::RouteInfo::setDirtyRead | ( | bool | dirtyRead | ) |
dirtyRead | true if cluster slaves cache forwarded publish messages |
Definition at line 69 of file RouteInfo.cpp.
bool org::xmlBlaster::util::cluster::RouteInfo::getDirtyRead | ( | ) | const |
std::string org::xmlBlaster::util::cluster::RouteInfo::toXml | ( | const std::string & | extraOffset = "" |
) | const |
Dump state of this object into a XML ASCII std::string.
extraOffset | indenting of tags for nice output |