|
reSIProcate/repro
9694
|
00001 #if !defined(Repro_CertSubscriptionHandler_hxx) 00002 #define Repro_CertSubscriptionHandler_hxx 00003 00004 #include "resip/dum/ServerPublication.hxx" 00005 #include "resip/dum/ServerSubscription.hxx" 00006 #include "resip/dum/SubscriptionHandler.hxx" 00007 00008 namespace resip 00009 { 00010 class Security; 00011 class SipMessage; 00012 class SecurityAttributes; 00013 class Data; 00014 class Contents; 00015 } 00016 00017 namespace repro 00018 { 00019 00020 class CertSubscriptionHandler : public resip::ServerSubscriptionHandler 00021 { 00022 public: 00023 CertSubscriptionHandler(resip::Security& security); 00024 virtual void onNewSubscription(resip::ServerSubscriptionHandle h, const resip::SipMessage& sub); 00025 virtual void onPublished(resip::ServerSubscriptionHandle associated, 00026 resip::ServerPublicationHandle publication, 00027 const resip::Contents* contents, 00028 const resip::SecurityAttributes* attrs); 00029 virtual void onTerminated(resip::ServerSubscriptionHandle); 00030 virtual void onError(resip::ServerSubscriptionHandle, const resip::SipMessage& msg); 00031 00032 private: 00033 resip::Security& mSecurity; 00034 }; 00035 00036 } 00037 00038 #endif
1.7.5.1