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

Diff of /main/sip/resiprocate/TransactionUser.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4335 by jason, Tue Apr 12 21:40:15 2005 UTC revision 4376 by jason, Sat Apr 16 02:30:10 2005 UTC
# Line 2  Line 2 
2  #define RESIP_TU_HXX  #define RESIP_TU_HXX
3    
4  #include <iosfwd>  #include <iosfwd>
5  #include <vector>  #include <set>
6  #include "resiprocate/os/TimeLimitFifo.hxx"  #include "resiprocate/os/TimeLimitFifo.hxx"
7  #include "resiprocate/os/Data.hxx"  #include "resiprocate/os/Data.hxx"
8  #include "resiprocate/Message.hxx"  #include "resiprocate/Message.hxx"
# Line 17  Line 17 
17  {  {
18     public:     public:
19        void post(Message *);        void post(Message *);
       bool isMyDomain(const Uri& uri) const;  
20        bool isMyDomain(const Data& domain) const;        bool isMyDomain(const Data& domain) const;
   
21        void addDomain(const Data& domain);        void addDomain(const Data& domain);
       void addDomain(const Data& domain, int port);        
22    
23        virtual const Data& name() const=0;        virtual const Data& name() const=0;
24        virtual std::ostream& encode(std::ostream& strm) const;        virtual std::ostream& encode(std::ostream& strm) const;
# Line 37  Line 34 
34        TimeLimitFifo<Message> mFifo;        TimeLimitFifo<Message> mFifo;
35    
36     private:     private:
37        typedef std::vector<Uri> DomainList;        typedef std::set<Data> DomainList;
38        DomainList mDomainList;        DomainList mDomainList;
39                
40        void postToTransactionUser(Message* msg, TimeLimitFifo<Message>::DepthUsage usage);        void postToTransactionUser(Message* msg, TimeLimitFifo<Message>::DepthUsage usage);

Legend:
Removed from v.4335  
changed lines
  Added in v.4376

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27