修改三方通话功能,在发起三方通话时,先保持住主叫,然后再拉回主叫到会议

NetLinkMgr.h 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*************************************************************************
  2. 【文件名】 NetLinkMgr.h
  3. 【功能模块和目的】 网络连接管理器类头文件
  4. 【开发者及日期】 郑石诺 2015/03/20
  5. 【版本】 V1.0.0
  6. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  7. 【更改记录】
  8. *************************************************************************/
  9. #pragma once
  10. class CPduEntity;
  11. /*************************************************************************
  12. 【类名】 CNetLinkMgr
  13. 【功能】
  14. 【接口说明】 网络连接管理器类
  15. 【开发者及日期】 郑石诺 2015/03/20
  16. 【版本】 V1.0.0
  17. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  18. 【更改记录】
  19. *************************************************************************/
  20. class CNetLinkMgr : public IPduLinkProc, public IPduCommProc
  21. {
  22. SINGLETON_DECLARE(CNetLinkMgr)
  23. public:
  24. CNetLinkMgr(void);
  25. ~CNetLinkMgr(void);
  26. bool open(void);
  27. void close(void);
  28. void send(CPduEntity* a_pPdu);
  29. bool send(CPduEntity* a_pPdu, PDU_DEV_TYPE a_DestType, int a_DestId);
  30. ////////////////////////////////////////////////////////////////////////////////
  31. //继承自IPduLinkProc, IPduCommProc
  32. void OnLinkStateChanged(const PduLinkContent& linkContent); // PDU连接状态变化事件处理
  33. void OnRecvCommand(CPduEntity* a_pPduEntity); // PDU命令到达事件处理
  34. private:
  35. void __onClientConnect(const PduLinkContent& linkContent);
  36. void __onClientReg(const PduLinkContent& linkContent);
  37. void __procReqReg(CPduEntity* a_pReq); // 注册请求
  38. private:
  39. UINT m_ClientCount;
  40. };