📄 getqos.h
字号:
/*------------------------------------------------------------------------------Name: GetQos.hProject: xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE file------------------------------------------------------------------------------*//** * This class encapsulates the QoS of an erase() request. * <p /> * see xmlBlaster/src/dtd/XmlQoS.xml * @see org.xmlBlaster.util.qos.QueryQosData * @see org.xmlBlaster.util.qos.QueryQosSaxFactory * @see <a href="http://www.xmlblaster.org/xmlBlaster/doc/requirements/interface.get.html">get interface</a> */#ifndef _CLIENT_QOS_GETQOS_H#define _CLIENT_QOS_GETQOS_H#include <util/xmlBlasterDef.h>#include <client/qos/UnSubscribeQos.h>namespace org { namespace xmlBlaster { namespace client { namespace qos {class Dll_Export GetQos : public org::xmlBlaster::client::qos::UnSubscribeQos{public: GetQos(org::xmlBlaster::util::Global& global); GetQos(org::xmlBlaster::util::Global& global, const org::xmlBlaster::util::qos::QueryQosData& data); GetQos(const GetQos& qos); GetQos& operator =(const GetQos& qos); /** * If false, the update contains not the content (it is a notify of change only) * TODO: Implement in server!!! */ void setWantContent(bool content); /** * Adds your subplied subscribe filter */ void addAccessFilter(const org::xmlBlaster::util::qos::AccessFilterQos& filter); /** * Set the QoS which describes the history query settings. */ void setHistoryQos(const org::xmlBlaster::util::qos::HistoryQos& historyQos); /** * Add a client property key and value * @param name The unique key, a duplicate key will overwrite the old setting * @param value "vector<unsigned char>" and "unsigned char *" types are treated as a blob * @see ClientProperty::#ClientProperty */ template <typename T_VALUE> void addClientProperty( const std::string& name, const T_VALUE& value, const std::string& type="", const std::string& encoding="") { data_.addClientProperty(name, value, type, encoding); }};}}}} // namespace#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -