privatekeypublicationhandler.hxx
来自「这是国外的resip协议栈」· HXX 代码 · 共 59 行
HXX
59 行
#if !defined(Repro_PrivateKeyPublicationHandler_hxx)#define Repro_PrivateKeyPublicationHandler_hxx#if defined(USE_SSL)#include "resip/dum/PublicationHandler.hxx"namespace resip{class Security;class SipMessage;class SecurityAttributes;class Data;class Contents;}namespace repro{class PrivateKeyPublicationHandler : public resip::ServerPublicationHandler{ public: PrivateKeyPublicationHandler(resip::Security& security); virtual void onInitial(resip::ServerPublicationHandle h, const resip::Data& etag, const resip::SipMessage& pub, const resip::Contents* contents, const resip::SecurityAttributes* attrs, UInt32 expires); virtual void onExpired(resip::ServerPublicationHandle h, const resip::Data& etag); virtual void onRefresh(resip::ServerPublicationHandle, const resip::Data& etag, const resip::SipMessage& pub, const resip::Contents* contents, const resip::SecurityAttributes* attrs, UInt32 expires); virtual void onUpdate(resip::ServerPublicationHandle h, const resip::Data& etag, const resip::SipMessage& pub, const resip::Contents* contents, const resip::SecurityAttributes* attrs, UInt32 expires); virtual void onRemoved(resip::ServerPublicationHandle h, const resip::Data& etag, const resip::SipMessage& pub, UInt32 expires); private: void add(resip::ServerPublicationHandle h, const resip::Contents* contents); resip::Security& mSecurity;}; }#endif#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?