/[resiprocate]/main/resip/dum/DialogId.hxx
ViewVC logotype

Contents of /main/resip/dum/DialogId.hxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2849 - (show annotations) (download)
Sun May 30 02:17:21 2004 UTC (15 years, 8 months ago) by derek
Original Path: main/sip/resiprocate/dum/DialogId.hxx
File size: 862 byte(s)
links
1 #if !defined(RESIP_DIALOG_ID_HXX)
2 #define RESIP_DIALOG_ID_HXX
3
4 #include "resiprocate/os/Data.hxx"
5 #include "resiprocate/dum/DialogSetId.hxx"
6
7 namespace resip
8 {
9
10 class DialogId
11 {
12 public:
13 DialogId(const SipMessage& msg );
14 DialogId(const Data& callId, const Data& localTag, const Data& remoteTag );
15 DialogId(const DialogSetId id, const Data& remoteTag );
16
17 bool operator==(const DialogId& rhs) const;
18 bool operator!=(const DialogId& rhs) const;
19 bool operator<(const DialogId& rhs) const;
20
21 const DialogSetId& getDialogSetId() const;
22
23 #if defined(HASH_MAP_NAMESPACE)
24 friend struct HASH_MAP_NAMESPACE::hash<resip::DialogId>;
25 #endif
26 #if defined(__INTEL_COMPILER )
27 friend size_t hash_value(const resip::DialogId& id);
28 #endif
29 private:
30 DialogSetId mDialogSetId;
31 Data mRemoteTag;
32 };
33
34 }
35
36 #endif

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27