/[resiprocate]/branches/b-identity-0505/dum/DefaultServerReferHandler.hxx
ViewVC logotype

Annotation of /branches/b-identity-0505/dum/DefaultServerReferHandler.hxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3450 - (hide annotations) (download)
Mon Nov 15 20:19:57 2004 UTC (15 years, 2 months ago) by derek
Original Path: main/sip/resiprocate/dum/DefaultServerReferHandler.hxx
File size: 730 byte(s)
support deafult expiry times for event packages
correct expiry time is sent in NOTIFY messages that result from ServerSubscription::update
1 derek 3101 #if !defined(RESIP_DEFAULTSERVERREFERHANDLER_HXX)
2     #define RESIP__DEFAULTSERVERREFERHANDLER_HXX
3    
4     #include "resiprocate/dum/SubscriptionHandler.hxx"
5    
6     namespace resip
7     {
8    
9     class DefaultServerReferHandler : public ServerSubscriptionHandler
10     {
11     public:
12     virtual void onNewSubscription(ServerSubscriptionHandle, const SipMessage& sub);
13     virtual void onRefresh(ServerSubscriptionHandle, const SipMessage& sub);
14     virtual void onTerminated(ServerSubscriptionHandle);
15    
16     static DefaultServerReferHandler* Instance();
17 derek 3450
18     virtual bool hasDefaultExpires() const;
19     virtual int getDefaultExpires() const;
20 derek 3101 protected:
21     DefaultServerReferHandler() {}
22     virtual ~DefaultServerReferHandler() {}
23     };
24    
25     }
26    
27     #endif

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27