client/key/SubscribeKey.cpp

Go to the documentation of this file.
00001 /*------------------------------------------------------------------------------
00002 Name:      SubscribeKey.cpp
00003 Project:   xmlBlaster.org
00004 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
00005 ------------------------------------------------------------------------------*/
00006 
00007 #include <client/key/SubscribeKey.h>
00008 #include <util/Global.h>
00009 
00010 using namespace std;
00011 using namespace org::xmlBlaster::util;
00012 using namespace org::xmlBlaster::util::key;
00013 
00014 namespace org { namespace xmlBlaster { namespace client { namespace key {
00015 
00016 SubscribeKey::SubscribeKey(Global& global) 
00017    : UnSubscribeKey(global)
00018 {
00019 }
00020 
00021 SubscribeKey::SubscribeKey(Global& global, const string& query, const string& queryType) 
00022    : UnSubscribeKey(global, query, queryType)
00023 {
00024 }
00025 
00026 SubscribeKey::SubscribeKey(Global& global, const QueryKeyData& data) 
00027    : UnSubscribeKey(global, data)
00028 {
00029 }
00030 
00031 SubscribeKey::SubscribeKey(const SubscribeKey& key)
00032    : UnSubscribeKey(key)
00033 {
00034 }
00035 
00036 SubscribeKey& SubscribeKey::operator =(const SubscribeKey& key)
00037 {
00038    queryKeyData_ = key.queryKeyData_;
00039    return *this;
00040 }
00041 
00042 void SubscribeKey::setDomain(const string& domain)
00043 {
00044    queryKeyData_.setDomain(domain);
00045 }
00046 
00047 string SubscribeKey::getDomain() const
00048 {
00049    return queryKeyData_.getDomain();
00050 }
00051 
00052 }}}} // namespace
00053 
00054 
00055 
00056