多数据源中间件标准版1.0

CellTurnAgent.h 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*************************************************************************
  2. 【文件名】 CellTurnAgent.h
  3. 【功能模块和目的】 转坐席节点类头文件
  4. 【开发者及日期】 郑石诺 2015/02/09
  5. 【版本】 V1.0.0
  6. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  7. 【更改记录】
  8. *************************************************************************/
  9. #pragma once
  10. #include "cellbase.h"
  11. #include "CellAUTOCREATE.h"
  12. /*************************************************************************
  13. 【类名】 CCellTurnAgent
  14. 【功能】
  15. 【接口说明】 转坐席节点类
  16. 【开发者及日期】 郑石诺 2015/02/09
  17. 【版本】 V1.0.0
  18. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  19. 【更改记录】
  20. *************************************************************************/
  21. class CCellTurnAgent : public CCellBase
  22. {
  23. DECLARE_CELL_AUTOCREATE
  24. public:
  25. CCellTurnAgent(void);
  26. CCellTurnAgent( CCellTurnAgent & cellTurnAgent );
  27. virtual ~CCellTurnAgent(void);
  28. ////////////////////////////////////////////////////////////////////////////////
  29. //继承自CCellBase
  30. int operate(void);
  31. CCellBase * copy(void);
  32. bool fillData(IFlowDataProvider& Provider);
  33. int onOpResultReturn(CPduEntity *a_pPduEntity);
  34. LPCTSTR name(void) const { return CELL_NAME_TURN_AGENT; }
  35. int maxWaitingTime(void) const { return 4 * 60; }
  36. private:
  37. int m_SuccessPos; //转移成功执行下一节点编号
  38. int m_FailPos; //转移失败执行下一节点编号
  39. int m_HangUpPos; //挂机执行下一节点编号
  40. CString m_Exten; //要转坐席的分机号码
  41. DataSet m_VarList; //要传递给坐席的变量列表
  42. };