⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ptcallevent.h

📁 基于sipfoundy 公司开发的sipx协议API
💻 H
字号:
//// Copyright (C) 2004, 2005 Pingtel Corp.// //// $$//////////////////////////////////////////////////////////////////////////////#ifndef _PtCallEvent_h_#define _PtCallEvent_h_// SYSTEM INCLUDES// APPLICATION INCLUDES#include <ptapi/PtEvent.h>// DEFINES// MACROS// EXTERNAL FUNCTIONS// EXTERNAL VARIABLES// CONSTANTS// STRUCTS// TYPEDEFS// FORWARD DECLARATIONSclass PtCall;class TaoClientTask;//:PtCallEvent contains PtCall-associated event dataclass PtCallEvent : public PtEvent{/* //////////////////////////// PUBLIC //////////////////////////////////// */public:    PT_CLASS_INFO_MEMBERS/* ============================ CREATORS ================================== */   PtCallEvent(PtEvent::PtEventId eventId = EVENT_INVALID);     //:Default constructor        PtCallEvent(PtEventId eventId,                                int metaCode,                                const char* callId,                                TaoClientTask *pClient,                                int sipResponseCode,                                const char* sipResponseText,                                const char* newCallId = 0,                                const char** oldCallIds = 0,                                int numOldCalls = 0);        //: Constructor.        PtCallEvent(TaoClientTask *pClient);        //: Constructor.        PtCallEvent(const PtCallEvent& rPtCallEvent);     //:Copy constructor   virtual   ~PtCallEvent();     //:Destructor/* ============================ MANIPULATORS ============================== */   PtCallEvent& operator=(const PtCallEvent& rhs);     //:Assignment operator/* ============================ ACCESSORS ================================= */   PtStatus getCall(PtCall& rCall) const;     //:Returns the call object associated with this event.     //!param: (out) rCall - The reference used to return the call pointer     //!retcode: PT_SUCCESS - Success     //!retcode: PT_PROVIDER_UNAVAILABLE - The provider is not available   static const char* className();     //:Returns the name of this class.     //!returns: Returns the string representation of the name of this class/* ============================ INQUIRY =================================== */   virtual PtBoolean isClass(const char* pClassName);     //:Determines if this object if of the specified type.     //!param: (in) pClassName - the string to compare with the name of this class.     //!retcode: TRUE - if the given string contains the class name of this class.     //!retcode: FALSE - if the given string does not match that of this class   virtual PtBoolean isInstanceOf(const char* pClassName);     //:Determines if this object is either an instance of or is derived from     //:the specified type.     //!param: (in) pClassName - the string to compare with the name of this class.     //!retcode: TRUE - if this object is either an instance of or is derived from the specified class.     //!retcode: FALSE - if this object is not an instance of the specified class./* //////////////////////////// PROTECTED ///////////////////////////////// *//* //////////////////////////// PRIVATE /////////////////////////////////// */private:};/* ============================ INLINE METHODS ============================ */#endif  // _PtCallEvent_h_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -