/[resiprocate]/main/resip/dum/MergedRequestRemovalCommand.cxx
ViewVC logotype

Contents of /main/resip/dum/MergedRequestRemovalCommand.cxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8161 - (show annotations) (download)
Fri Jul 25 20:54:42 2008 UTC (11 years, 3 months ago) by jmatthewsr
File MIME type: text/plain
File size: 966 byte(s)
Stream performance enhancements for encoding objects.  New encoding code should use 'EncodeStream','resipCerr' and 'resipCout' for encoding any resip objects.  Merge from b-jmatthewsr-streamperf2 -r 8137:8160.  
1 #include "resip/dum/DialogUsageManager.hxx"
2 #include "resip/dum/MergedRequestKey.hxx"
3 #include "resip/dum/MergedRequestRemovalCommand.hxx"
4 #include "rutil/WinLeakCheck.hxx"
5
6 using namespace resip;
7 using namespace std;
8
9
10 MergedRequestRemovalCommand::MergedRequestRemovalCommand(DialogUsageManager& dum,
11 const MergedRequestKey& key)
12 : mDum(dum),
13 mKey(key)
14 {
15 }
16
17 MergedRequestRemovalCommand::MergedRequestRemovalCommand(const MergedRequestRemovalCommand& from)
18 : mDum(from.mDum),
19 mKey(from.mKey)
20 {
21 }
22
23 void MergedRequestRemovalCommand::executeCommand()
24 {
25 mDum.removeMergedRequest(mKey);
26 }
27
28 Message* MergedRequestRemovalCommand::clone() const
29 {
30 return new MergedRequestRemovalCommand(*this);
31 }
32
33 EncodeStream&
34 MergedRequestRemovalCommand::encode(EncodeStream& strm) const
35 {
36 return strm;
37 }
38
39 EncodeStream&
40 MergedRequestRemovalCommand::encodeBrief(EncodeStream& strm) const
41 {
42 return strm;
43 }

Properties

Name Value
svn:eol-style native
svn:mime-type text/plain

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27