/[resiprocate]/branches/b-teltel-20041118-invitesession/DestroyUsage.hxx
ViewVC logotype

Contents of /branches/b-teltel-20041118-invitesession/DestroyUsage.hxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3621 - (show annotations) (download)
Wed Nov 24 05:13:46 2004 UTC (15 years, 2 months ago) by jason
File size: 763 byte(s)
use events to shutdown Dialog and DialogSet instead of RefCountedDestroyer

1 #if !defined(RESIP_DESTORYUSAGE_HXX)
2 #define RESIP_DESTORYUSAGE_HXX
3
4 #include <iosfwd>
5 #include "resiprocate/ApplicationMessage.hxx"
6 #include "resiprocate/dum/Handles.hxx"
7
8 namespace resip
9 {
10
11 class Dialog;
12 class DialogSet;
13
14 class DestroyUsage : public ApplicationMessage
15 {
16 public:
17 DestroyUsage(BaseUsageHandle target);
18 DestroyUsage(Dialog* dialog);
19 DestroyUsage(DialogSet* dialogSet);
20
21 ~DestroyUsage();
22
23 Message* clone() const;
24 void destroy();
25
26 virtual Data brief() const;
27 virtual std::ostream& encode(std::ostream& strm) const;
28
29 private:
30 DestroyUsage(const DestroyUsage& other);
31
32 BaseUsageHandle mHandle;
33 DialogSet* mDialogSet;
34 Dialog* mDialog;
35 };
36
37 }
38
39 #endif

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27