📄 ptcalllistener.h
字号:
// this method. The implementation must copy the event if // it is needed beyond the scope of an invocation. The implementation // of this method should not block as it may prevent other listeners // from processing events in a timely fashion. //!param: (in) rEvent - Reference to the PtEvent containing the specific event information. virtual void callMetaSnapshotEnded(const PtCallEvent& rEvent); //:Method invoked on listener for event id = //:CALL_META_SNAPSHOT_ENDED //:indicating that the Pingtel implementation has finished reporting a //:set of simulated state changes that, in effect, construct the current //:state of the call. // The event parameter is valid only within // this method. The implementation must copy the event if // it is needed beyond the scope of an invocation. The implementation // of this method should not block as it may prevent other listeners // from processing events in a timely fashion. //!param: (in) rEvent - Reference to the PtEvent containing the specific event information. virtual void callMetaAddPartyStarted(const PtCallEvent& rEvent); //:Method invoked on listener for event id = CALL_META_ADD_PARTY_STARTED //:indicating that a party has been added to the call. A "party" //:corresponds to a PtConnection being added. Note that if a //:PtTerminalConnection is added, it carries a meta event of //:CALL_META_PROGRESS_STARTED. // The event parameter is valid only within this method. // The implementation must copy the event if it is needed // beyond the scope of an invocation. The implementation of // this method should not block as it may prevent other listeners // from processing events in a timely fashion. //!param: (in) rEvent - Reference to the PtEvent containing the specific event information. virtual void callMetaAddPartyEnded(const PtCallEvent& rEvent); //:Method invoked on listener for event id = //:CALL_META_ADD_PARTY_ENDED //:indicates the end of the group of events related to the add party meta //:event. // The event parameter is valid only within // this method. The implementation must copy the event if // it is needed beyond the scope of an invocation. The implementation // of this method should not block as it may prevent other listeners // from processing events in a timely fashion. //!param: (in) rEvent - Reference to the PtEvent containing the specific event information. virtual void callMetaRemovePartyStarted(const PtCallEvent& rEvent); //:Method invoked on listener for event id = //:CALL_META_REMOVE_PARTY_STARTED //:indicating that a party (i.e. connection) has been removed from the //:call by moving into the PtConnection::DISCONNECTED state. // The event parameter is valid only within // this method. The implementation must copy the event if // it is needed beyond the scope of an invocation. The implementation // of this method should not block as it may prevent other listeners // from processing events in a timely fashion. //!param: (in) rEvent - Reference to the PtEvent containing the specific event information. virtual void callMetaRemovePartyEnded(const PtCallEvent& rEvent); //:Method invoked on listener for event id = //:CALL_META_REMOVE_PARTY_ENDED //:indicating the end of the group of events related to the remove party //:meta event. // The event parameter is valid only within // this method. The implementation must copy the event if // it is needed beyond the scope of an invocation. The implementation // of this method should not block as it may prevent other listeners // from processing events in a timely fashion. //!param: (in) rEvent - Reference to the PtEvent containing the specific event information. virtual void multicallMetaMergeStarted(const PtMultiCallMetaEvent& rEvent); //:Method invoked on listener for event id = //:MULTICALL_META_MERGE_STARTED //:indicating that calls are merging, and events will follow which //:indicate the changes to those calls. // The event parameter is valid only within // this method. The implementation must copy the event if // it is needed beyond the scope of an invocation. The implementation // of this method should not block as it may prevent other listeners // from processing events in a timely fashion. //!param: (in) rEvent - Reference to the PtEvent containing the specific event information. virtual void multicallMetaMergeEnded(const PtMultiCallMetaEvent& rEvent); //:Method invoked on listener for event id = //:MULTICALL_META_MERGE_ENDED //:indicating that calls have merged, and that all state change events //:resulting from this merge have been reported. // The event parameter is valid only within // this method. The implementation must copy the event if // it is needed beyond the scope of an invocation. The implementation // of this method should not block as it may prevent other listeners // from processing events in a timely fashion. //!param: (in) rEvent - Reference to the PtEvent containing the specific event information. virtual void multicallMetaTransferStarted(const PtMultiCallMetaEvent& rEvent); //:Method invoked on listener for event id = //:MULTICALL_META_TRANSFER_STARTED //:indicating that a transfer is occurring, and events will follow which //:indicate the changes to the affected calls. // The event parameter is valid only within // this method. The implementation must copy the event if // it is needed beyond the scope of an invocation. The implementation // of this method should not block as it may prevent other listeners // from processing events in a timely fashion. //!param: (in) rEvent - Reference to the PtEvent containing the specific event information. virtual void multicallMetaTransferEnded(const PtMultiCallMetaEvent& rEvent); //:Method invoked on listener for event id = //:MULTICALL_META_TRANSFER_ENDED //:indicating that a transfer has completed, and that all state change //:events resulting from this transfer have been reported. // The event parameter is valid only within // this method. The implementation must copy the event if // it is needed beyond the scope of an invocation. The implementation // of this method should not block as it may prevent other listeners // from processing events in a timely fashion. //!param: (in) rEvent - Reference to the PtEvent containing the specific event information./* ============================ ACCESSORS ================================= */ static const char* className(); //:Returns the name of this class //!returns: Returns the string representation of the name of this class PtStatus getLocation(UtlString* rpLocation);/* ============================ 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 ///////////////////////////////// */protected: UtlString* mpOriginatingIP;/* //////////////////////////// PRIVATE /////////////////////////////////// */private: PtCallListener(const PtCallListener& rPtCallListener); //:Copy constructor PtCallListener& operator=(const PtCallListener& rhs); //:Assignment operator};/* ============================ INLINE METHODS ============================ */#endif // _PtCallListener_h_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -