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

Diff of /main/resip/dum/SubscriptionHandler.hxx

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

revision 3039 by derek, Mon Jun 28 17:08:38 2004 UTC revision 3058 by derek, Thu Jul 1 22:39:57 2004 UTC
# Line 10  Line 10 
10  class ClientSubscriptionHandler  class ClientSubscriptionHandler
11  {  {
12    public:    public:
13        virtual void onRefreshRejected(ClientSubscriptionHandle, SipMessage& rejection)=0;        virtual void onRefreshRejected(ClientSubscriptionHandle, const SipMessage& rejection)=0;
14        virtual void onUpdatePending(ClientSubscriptionHandle, SipMessage& notify)=0;        virtual void onUpdatePending(ClientSubscriptionHandle, const SipMessage& notify)=0;
15        virtual void onUpdateActive(ClientSubscriptionHandle, SipMessage& notify)=0;              virtual void onUpdateActive(ClientSubscriptionHandle, const SipMessage& notify)=0;      
16        virtual void onTerminated(ClientSubscriptionHandle, SipMessage& notify)=0;              virtual void onTerminated(ClientSubscriptionHandle, const SipMessage& notify)=0;  
17        virtual void onNewSubscription(ClientSubscriptionHandle, SipMessage& sub)=0;        //not sure if this has any value
18          virtual void onNewSubscription(ClientSubscriptionHandle, const SipMessage& sub)=0;
19  };  };
20    
21  class ServerSubscriptionHandler  class ServerSubscriptionHandler
22  {  {
23    public:    public:
24        virtual void onNewSubscription(ServerSubscriptionHandle, SipMessage& sub)=0;        virtual void onNewSubscription(ServerSubscriptionHandle, const SipMessage& sub)=0;
25        virtual void onRefresh(ServerSubscriptionHandle, SipMessage& sub)=0;        virtual void onRefresh(ServerSubscriptionHandle, const SipMessage& sub)=0;
26        virtual void onTerminated(ServerSubscriptionHandle, SipMessage& sub)=0;        virtual void onTerminated(ServerSubscriptionHandle, const SipMessage& sub)=0;
27  };  };
28    
29  }  }
30    
31    #endif

Legend:
Removed from v.3039  
changed lines
  Added in v.3058

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27