?? cppeercall.h
字號:
UtlBoolean handleDropConnection(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_DROP_CONNECTION message UtlBoolean handleForceDropConnection(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_FORCE_DROP_CONNECTION //: message UtlBoolean handleGetAddresses(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_GET_CALLED_ADDRESSES and //: CallManager::CP_GET_CALLING_ADDRESSES messages UtlBoolean handleAcceptConnection(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_ACCEPT_CONNECTION //: message UtlBoolean handleRejectConnection(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_REJECT_CONNECTION //: message UtlBoolean handleRedirectConnection(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_REDIRECT_CONNECTION //: message UtlBoolean handleHoldTermConnection(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_HOLD_TERM_CONNECTION //: message UtlBoolean handleHoldAllTermConnection(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_HOLD_ALL_TERM_CONNECTIONS //: message UtlBoolean handleUnholdTermConnection(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_UNHOLD_TERM_CONNECTION //: message UtlBoolean handleAddToneListener(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_ADD_TONE_LISTENER //: message UtlBoolean handleRemoveToneListener(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_REMOVE_TONE_LISTENER //: message UtlBoolean handleTransferConnectionStatus(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_TRANSFER_CONNECTION_STATUS //: message UtlBoolean handleTransfereeConnectionStatus(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_TRANSFEREE_CONNECTION_STATUS //: message UtlBoolean handleGetNumConnections(OsMsg* pEventMessage); //: Handles the processing of CallManager::CP_GET_NUM_CONNECTIONS //: and CallManager::CP_GET_NUM_TERM_CONNECTIONS messages UtlBoolean handleGetConnections(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_GET_CONNECTIONS //: message UtlBoolean handleGetSession(OsMsg* pEventMessage); // Handles the processing of a CallManager::CP_GET_INVITE // message UtlBoolean handleGetInvite(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_GET_SESSION //: message UtlBoolean handleSendSipRequest(OsMsg* pEventMessage); //: Handles CallManager::CP_SEND_SIP_REQUEST UtlBoolean handleGetCallState(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_GET_CALLSTATE //: message UtlBoolean handleGetConnectionState(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_GET_CONNECTIONSTATE //: message UtlBoolean handleGetNextCseq(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_GET_NEXT_CSEQ //: message UtlBoolean handleGetTerminalConnectionState(OsMsg* pEventMessage); //: Handles the processing of a //: CallManager::CP_GET_TERMINALCONNECTIONSTATE message UtlBoolean handleIsLocalTerminalConnection(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_IS_LOCAL_TERM_CONNECTION //: message UtlBoolean handleCancelTimer(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_CANCEL_TIMER //: message UtlBoolean handleOfferingExpired(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_OFFERING_EXPIRED //: message UtlBoolean handleRingingExpired(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_RINGING_EXPIRED //: message UtlBoolean handleUnholdAllTermConnections(OsMsg* pEventMessage); //: Handles the processing of a //: CallManager::CP_UNHOLD_ALL_TERM_CONNECTIONS message UtlBoolean handleUnholdLocalTermConnection(OsMsg* pEventMessage); //: Handles the processing of a //: CallManager::CP_UNHOLD_LOCAL_TERM_CONNECTION message UtlBoolean handleHoldLocalTermConnection(OsMsg* pEventMessage); //: Handles the processing of a CallManager::CP_HOLD_LOCAL_TERM_CONNECTION //: message UtlBoolean handleGetLocalContacts(OsMsg* pEventMessage); //: Handles the procesing of a CP_GET_LOCAL_CONTACTS message UtlBoolean handleSendInfo(OsMsg* pEventMessage); //: Handles the processing of a CP_INFO message, and sends an INFO message UtlBoolean handleGetMediaConnectionId(OsMsg* pEventMessage); //: Handles the processing of a CP_GET_MEDIA_CONNECTION_ID message UtlBoolean handleGetCanAddParty(OsMsg* pEventMessage); //: Handles the processing of a CP_GET_CAN_ADD_PARTY message //: Handles the processing of a CP_SPLIT_CONNECTION message UtlBoolean handleSplitConnection(OsMsg* pEventMessage) ; //: Handles the processing of a CP_JOIN_CONNECTION message UtlBoolean handleJoinConnection(OsMsg* pEventMessage) ; //: Handle the processing of a CP_NEW_PASSERTED_ID message UtlBoolean handleChangeLocalIdentity(OsMsg* pEventMessage); //: Handle processing of a CP_SET_MEDIA_PROPERTY message UtlBoolean handleSetMediaProperty(OsMsg* eventMessage); virtual UtlBoolean getConnectionState(const char* remoteAddress, int& state); virtual UtlBoolean getTermConnectionState(const char* address, const char* terminal, int& state); virtual void onHook(); virtual void offHook(const void* hWnd = NULL); // Connection manipulators Connection* findHandlingConnection(OsMsg& eventMessage); Connection* findHandlingConnection(UtlString& remoteAddress); Connection* findHandlingConnection(const char* callId, const char* toTag, const char* fromTag, UtlBoolean strictCompare); void addConnection(Connection* connection); Connection* findQueuedConnection(); UtlBoolean isConnectionLive(int* localConnectionState = NULL); void dropIfDead(); void dropDeadConnections(); void handleGetTermConnections(OsMsg* pEventMessage); void handleSetOutboundLine(OsMsg* pEventMessage); void getLocalContactAddresses( CONTACT_ADDRESS contacts[], size_t nMaxContacts, size_t& nActualContacts) ; /* //////////////////////////// PRIVATE /////////////////////////////////// */private: //void doHold(); //void doOffHold(); int offeringDelay; int lineAvailableBehavior; UtlString forwardUnconditional; int lineBusyBehavior; UtlString forwardOnBusy; int noAnswerTimeout; UtlString forwardOnNoAnswer; SipUserAgent* sipUserAgent; //Connection* connection; //UtlString extension; int mSipSessionReinviteTimer; UtlDList mConnections; UtlDList mToneListeners; OsRWMutex mConnectionMutex; int mDialMode; UtlString mLocalAddress; UtlString mLocalTerminalId; UtlBoolean mIsEarlyMediaFor180; UtlBoolean mbRequestedDrop; // Have we requested to be dropped by the CallManager SIPX_CALLSTATE_EVENT eLastMajor ; SIPX_CALLSTATE_CAUSE eLastMinor ; // For media server CpIntMessage* pExitMsg; OsQueuedEvent* queuedEvent; OsTimer* timer; CpPeerCall(const CpPeerCall& rCpPeerCall); //:Copy constructor CpPeerCall& operator=(const CpPeerCall& rhs); //:Assignment operator /** Test if address has a "tag" URI parameter. * If so, set address_without_tag to the URI with the "tag" parameter * removed. */ static UtlBoolean checkForTag(const UtlString& address, UtlString& address_without_tag);};/* ============================ INLINE METHODS ============================ */#endif // _CpPeerCall_h_
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -