Public Member Functions | |
MsgQosFactory (org::xmlBlaster::util::Global &global) | |
Can be used as singleton. | |
~MsgQosFactory () | |
MsgQosData | readObject (std::string &xmlQos) |
Parses the given xml Qos and returns a MsgQosData holding the data. | |
void | startElement (std::string &name, parser::AttributeMap &attrs) |
Start element, event from SAX parser. | |
void | characters (std::string &ch) |
Characters. | |
void | endElement (std::string &name) |
End element, event from SAX parser. | |
void | sendRemainingLife (bool sendRemainingLife) |
Configure if remaingLife is sent in Qos (redesign approach to work with all QoS attributes. | |
bool | sendRemainingLife () |
Definition at line 33 of file MsgQosFactory.h.
org::xmlBlaster::util::qos::MsgQosFactory::MsgQosFactory | ( | org::xmlBlaster::util::Global & | global | ) |
org::xmlBlaster::util::qos::MsgQosFactory::~MsgQosFactory | ( | ) |
Definition at line 63 of file MsgQosFactory.cpp.
MsgQosData org::xmlBlaster::util::qos::MsgQosFactory::readObject | ( | std::string & | xmlQos | ) |
Parses the given xml Qos and returns a MsgQosData holding the data.
Parsing of update() and publish() QoS is supported here.
the | XML based ASCII std::string |
Referenced by org::xmlBlaster::client::protocol::socket::SocketDriver::get(), and org::xmlBlaster::util::queue::SQLiteQueuePlugin::peekWithSamePriority().
void org::xmlBlaster::util::qos::MsgQosFactory::startElement | ( | std::string & | name, | |
parser::AttributeMap & | attrs | |||
) |
void org::xmlBlaster::util::qos::MsgQosFactory::characters | ( | std::string & | ch | ) |
Characters.
The text between two tags, in the following example 'Hello': <key>Hello</key>. This method is different from the java version since the c++ parser always starts at the first character, so you don't specify start.
void org::xmlBlaster::util::qos::MsgQosFactory::endElement | ( | std::string & | name | ) |
void org::xmlBlaster::util::qos::MsgQosFactory::sendRemainingLife | ( | bool | sendRemainingLife | ) |
Configure if remaingLife is sent in Qos (redesign approach to work with all QoS attributes.
Definition at line 416 of file MsgQosFactory.cpp.
bool org::xmlBlaster::util::qos::MsgQosFactory::sendRemainingLife | ( | ) |
Definition at line 421 of file MsgQosFactory.cpp.