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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5859 - (show annotations) (download)
Fri Feb 3 23:20:23 2006 UTC (13 years, 10 months ago) by daniel
File size: 912 byte(s)
A new ethod requestMergedRequestRemoval is added to the DialogUsageManager. The DialogSet calls this method to ask DialogUsageManager to remove the merged requests. The requestMergedRequestRemoval posts a timer which will fire in 64*T1.
1 #include "resip/dum/DialogUsageManager.hxx"
2 #include "resip/dum/MergedRequestKey.hxx"
3 #include "resip/dum/MergedRequestRemovalCommand.hxx"
4
5 using namespace resip;
6 using namespace std;
7
8
9 MergedRequestRemovalCommand::MergedRequestRemovalCommand(DialogUsageManager& dum,
10 const MergedRequestKey& key)
11 : mDum(dum),
12 mKey(key)
13 {
14 }
15
16 MergedRequestRemovalCommand::MergedRequestRemovalCommand(const MergedRequestRemovalCommand& from)
17 : mDum(from.mDum),
18 mKey(from.mKey)
19 {
20 }
21
22 void MergedRequestRemovalCommand::executeCommand()
23 {
24 mDum.removeMergedRequest(mKey);
25 }
26
27 Message* MergedRequestRemovalCommand::clone() const
28 {
29 return new MergedRequestRemovalCommand(*this);
30 }
31
32 ostream&
33 MergedRequestRemovalCommand::encode(ostream& strm) const
34 {
35 return strm;
36 }
37
38 ostream&
39 MergedRequestRemovalCommand::encodeBrief(ostream& strm) const
40 {
41 return strm;
42 }

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27