1 /*------------------------------------------------------------------------------
2 Name: UpdateKey.cpp
3 Project: xmlBlaster.org
4 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
5 ------------------------------------------------------------------------------*/
6
7 #include <client/key/UpdateKey.h>
8 #include <util/Global.h>
9
10 using namespace std;
11 using namespace org::xmlBlaster::util;
12 using namespace org::xmlBlaster::util::key;
13
14 namespace org { namespace xmlBlaster { namespace client { namespace key {
15
16 UpdateKey::UpdateKey(Global& global)
17 : MsgKeyBase(global)
18 {
19 }
20
21 UpdateKey::UpdateKey(Global& global, const MsgKeyData& data)
22 : MsgKeyBase(global, data)
23 {
24 }
25
26 UpdateKey::UpdateKey(const UpdateKey& key)
27 : MsgKeyBase(key)
28 {
29 }
30
31 UpdateKey& UpdateKey::operator =(const UpdateKey& key)
32 {
33 msgKeyData_ = key.msgKeyData_;
34 return *this;
35 }
36
37 bool UpdateKey::isDeadMessage() const
38 {
39 return msgKeyData_.isDeadMessage();
40 }
41
42 bool UpdateKey::isPluginInternal() const
43 {
44 return msgKeyData_.isPluginInternal();
45 }
46
47 string UpdateKey::getClientTags() const
48 {
49 return msgKeyData_.getClientTags();
50 }
51
52 }}}} // namespace
syntax highlighted by Code2HTML, v. 0.9.1