OverSim
I3Message.cc
Go to the documentation of this file.
1 // Copyright (C) 2006 Institut fuer Telematik, Universitaet Karlsruhe (TH)
2 //
3 // This program is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU General Public License
5 // as published by the Free Software Foundation; either version 2
6 // of the License, or (at your option) any later version.
7 //
8 // This program is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 // GNU General Public License for more details.
12 //
13 // You should have received a copy of the GNU General Public License
14 // along with this program; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16 //
17 
24 #include "I3Message.h"
25 
30 
31 
34 {
36  setSendReply(false);
37  setName("I3::InsertTrigger");
38 }
39 
41  I3InsertTriggerMessage_Base(other.getName())
42 {
44  setSendReply(false);
45  operator=(other);
46 }
47 
49 {
51  return *this;
52 }
53 
55 {
56  return new I3InsertTriggerMessage(*this);
57 }
58 
61 {
63  setName("I3::RemoveTrigger");
64 }
65 
67  I3RemoveTriggerMessage_Base(other.getName())
68 {
70  operator=(other);
71 }
72 
74 {
76  return *this;
77 }
78 
80 {
81  return new I3RemoveTriggerMessage(*this);
82 }
83 
84 I3SendPacketMessage::I3SendPacketMessage(const char *name, int kind)
85  : I3SendPacketMessage_Base(name,kind)
86 {
88  setName("I3::SendPacket");
89 }
90 
92  I3SendPacketMessage_Base(other.getName())
93 {
95  operator=(other);
96 }
97 
99 {
101  return *this;
102 }
103 
105 {
106  return new I3SendPacketMessage(*this);
107 }
108 
109 I3QueryReplyMessage::I3QueryReplyMessage(const char *name, int kind)
110  : I3QueryReplyMessage_Base(name,kind)
111 {
113  setName("I3::QueryReply");
114 }
115 
117  I3QueryReplyMessage_Base(other.getName())
118 {
120  operator=(other);
121 }
122 
124 {
126  return *this;
127 }
128 
130 {
131  return new I3QueryReplyMessage(*this);
132 }
133