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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8161 - (hide annotations) (download)
Fri Jul 25 20:54:42 2008 UTC (11 years, 4 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 daniel 5859 #include "resip/dum/DialogUsageManager.hxx"
2     #include "resip/dum/MergedRequestKey.hxx"
3     #include "resip/dum/MergedRequestRemovalCommand.hxx"
4 sgodin 5899 #include "rutil/WinLeakCheck.hxx"
5 daniel 5859
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 jmatthewsr 8161 EncodeStream&
34     MergedRequestRemovalCommand::encode(EncodeStream& strm) const
35 daniel 5859 {
36     return strm;
37     }
38    
39 jmatthewsr 8161 EncodeStream&
40     MergedRequestRemovalCommand::encodeBrief(EncodeStream& strm) const
41 daniel 5859 {
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