/[resiprocate]/main/sip/resiprocate/TransactionUser.cxx
ViewVC logotype

Annotation of /main/sip/resiprocate/TransactionUser.cxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4171 - (hide annotations) (download)
Sat Apr 2 05:38:07 2005 UTC (14 years, 9 months ago) by derek
File size: 603 byte(s)
aggghhh, svn bad now
1 jason 4145 #include "resiprocate/TransactionUser.hxx"
2    
3 jason 4147 using namespace resip;
4    
5     TransactionUser::TransactionUser() : mFifo(0, 0)
6 jason 4145 {
7     }
8    
9     TransactionUser::~TransactionUser()
10     {
11     }
12    
13     void
14 derek 4171 TransactionUser::post(Message* msg)
15     {
16     mFifo.add(msg, TimeLimitFifo<Message>::InternalElement);
17     }
18    
19     void
20 jason 4145 TransactionUser::postToTransactionUser(Message* msg, TimeLimitFifo<Message>::DepthUsage usage)
21     {
22     mFifo.add(msg, usage);
23     }
24    
25 jason 4147 unsigned int
26     TransactionUser::size() const
27 jason 4145 {
28     return mFifo.size();
29     }
30    
31     bool
32     TransactionUser::wouldAccept(TimeLimitFifo<Message>::DepthUsage usage) const
33     {
34     return mFifo.wouldAccept(usage);
35     }
36    

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27