Collaboration diagram for org::xmlBlaster::util::Destination:
Public Member Functions | ||||
Destination (org::xmlBlaster::util::Global &global, org::xmlBlaster::util::SessionName &sessionName, std::string &queryType="EXACT", bool forceQueuing=false) | ||||
Constructs the specialized quality of service destination object. | ||||
Destination (org::xmlBlaster::util::Global &global, std::string &address="", std::string &queryType="EXACT", bool forceQueuing=false) | ||||
Destination (Destination &dest) | ||||
Destination & | operator= (Destination &dest) | |||
bool | isXPathQuery () | |||
| ||||
bool | isExactAddress () | |||
| ||||
bool | forceQueuing () | |||
| ||||
void | forceQueuing (bool forceQueuing) | |||
Set queuing of messages. | ||||
org::xmlBlaster::util::SessionNameRef | getDestination () | |||
| ||||
void | setQueryType (std::string &queryType) | |||
| ||||
std::string | toXml (std::string &extraOffset="") | |||
Dump state of this object into a XML ASCII std::string. |
This class corresponds to the QOS destination tag
Definition at line 23 of file Destination.h.
org::xmlBlaster::util::Destination::Destination | ( | org::xmlBlaster::util::Global & | global, | |
org::xmlBlaster::util::SessionName & | sessionName, | |||
std::string & | queryType = "EXACT" , |
|||
bool | forceQueuing = false | |||
) |
Constructs the specialized quality of service destination object.
org::xmlBlaster::util::Destination::Destination | ( | org::xmlBlaster::util::Global & | global, | |
std::string & | address = "" , |
|||
std::string & | queryType = "EXACT" , |
|||
bool | forceQueuing = false | |||
) |
org::xmlBlaster::util::Destination::Destination | ( | Destination & | dest | ) |
Definition at line 48 of file Destination.cpp.
Destination & org::xmlBlaster::util::Destination::operator= | ( | Destination & | dest | ) |
Definition at line 54 of file Destination.cpp.
bool org::xmlBlaster::util::Destination::isXPathQuery | ( | ) |
bool org::xmlBlaster::util::Destination::isExactAddress | ( | ) |
bool org::xmlBlaster::util::Destination::forceQueuing | ( | ) |
Definition at line 70 of file Destination.cpp.
Referenced by PublishDemo::publish().
void org::xmlBlaster::util::Destination::forceQueuing | ( | bool | forceQueuing | ) |
Set queuing of messages.
true: If client is not logged in, messages will be queued until he comes.
false: Default is that on PtP messages when the destination address is not online, an Exception is thrown
Definition at line 75 of file Destination.cpp.
SessionNameRef org::xmlBlaster::util::Destination::getDestination | ( | ) |
The | destination address or XPath query std::string |
Definition at line 87 of file Destination.cpp.
void org::xmlBlaster::util::Destination::setQueryType | ( | std::string & | queryType | ) |
queryType | The query type, one of "EXACT" | "XPATH" |
std::string org::xmlBlaster::util::Destination::toXml | ( | std::string & | extraOffset = "" |
) |
Dump state of this object into a XML ASCII std::string.
extraOffset | indenting of tags for nice output |