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