org::xmlBlaster::client::qos::GetQos Class Reference

Inheritance diagram for org::xmlBlaster::client::qos::GetQos:

Inheritance graph
[legend]
Collaboration diagram for org::xmlBlaster::client::qos::GetQos:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GetQos (org::xmlBlaster::util::Global &global)
 GetQos (org::xmlBlaster::util::Global &global, org::xmlBlaster::util::qos::QueryQosData &data)
 GetQos (GetQos &qos)
GetQosoperator= (GetQos &qos)
void setWantContent (bool content)
 If false, the update contains not the content (it is a notify of change only) TODO: Implement in server!!!
void addAccessFilter (org::xmlBlaster::util::qos::AccessFilterQos &filter)
 Adds your subplied subscribe filter.
void setHistoryQos (org::xmlBlaster::util::qos::HistoryQos &historyQos)
 Set the QoS which describes the history query settings.
template<typename T_VALUE>
void addClientProperty (std::string &name, T_VALUE &value, std::string &type="", std::string &encoding="")
 Add a client property key and value.

Detailed Description

Definition at line 28 of file GetQos.h.


Constructor & Destructor Documentation

org::xmlBlaster::client::qos::GetQos::GetQos ( org::xmlBlaster::util::Global global  ) 

Definition at line 33 of file GetQos.cpp.

References org::xmlBlaster::client::qos::UnSubscribeQos::ME.

org::xmlBlaster::client::qos::GetQos::GetQos ( org::xmlBlaster::util::Global global,
org::xmlBlaster::util::qos::QueryQosData data 
)

Definition at line 38 of file GetQos.cpp.

References org::xmlBlaster::client::qos::UnSubscribeQos::ME.

org::xmlBlaster::client::qos::GetQos::GetQos ( GetQos qos  ) 

Definition at line 45 of file GetQos.cpp.


Member Function Documentation

GetQos & org::xmlBlaster::client::qos::GetQos::operator= ( GetQos qos  ) 

Definition at line 49 of file GetQos.cpp.

References org::xmlBlaster::client::qos::UnSubscribeQos::data_.

void org::xmlBlaster::client::qos::GetQos::setWantContent ( bool  content  ) 

If false, the update contains not the content (it is a notify of change only) TODO: Implement in server!!!

Definition at line 59 of file GetQos.cpp.

References org::xmlBlaster::client::qos::UnSubscribeQos::data_, and org::xmlBlaster::util::qos::QueryQosData::setWantContent().

Referenced by SubscribeDemo::subscribe().

void org::xmlBlaster::client::qos::GetQos::addAccessFilter ( org::xmlBlaster::util::qos::AccessFilterQos filter  ) 

Adds your subplied subscribe filter.

Definition at line 67 of file GetQos.cpp.

References org::xmlBlaster::util::qos::QueryQosData::addAccessFilter(), and org::xmlBlaster::client::qos::UnSubscribeQos::data_.

Referenced by SubscribeDemo::subscribe().

void org::xmlBlaster::client::qos::GetQos::setHistoryQos ( org::xmlBlaster::util::qos::HistoryQos historyQos  ) 

Set the QoS which describes the history query settings.

Definition at line 75 of file GetQos.cpp.

References org::xmlBlaster::client::qos::UnSubscribeQos::data_, and org::xmlBlaster::util::qos::QueryQosData::setHistoryQos().

Referenced by SubscribeDemo::subscribe().

template<typename T_VALUE>
void org::xmlBlaster::client::qos::GetQos::addClientProperty ( std::string &  name,
T_VALUE &  value,
std::string &  type = "",
std::string &  encoding = "" 
)

Add a client property key and value.

Parameters:
name The unique key, a duplicate key will overwrite the old setting
value "vector<unsigned char>" and "unsigned char *" types are treated as a blob
See also:
ClientProperty::ClientProperty

Reimplemented from org::xmlBlaster::client::qos::UnSubscribeQos.

Reimplemented in org::xmlBlaster::client::qos::SubscribeQos.

Definition at line 61 of file GetQos.h.


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