中间件底层,websocket

RcfClient.h 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // pch.h: 这是预编译标头文件。
  2. // 下方列出的文件仅编译一次,提高了将来生成的生成性能。
  3. // 这还将影响 IntelliSense 性能,包括代码完成和许多代码浏览功能。
  4. // 但是,如果此处列出的文件中的任何一个在生成之间有更新,它们全部都将被重新编译。
  5. // 请勿在此处添加要频繁更新的文件,这将使得性能优势无效。
  6. #ifndef PCH_H
  7. #define PCH_H
  8. // 添加要在此处预编译的标头
  9. #include <string>
  10. #include <vector>
  11. bool pushAgentList(int agentId, std::string agentList);
  12. bool getAgentList(int agentId, std::string& agentList);
  13. bool pushRedis(std::vector<std::string> & val);
  14. bool pushRedis(std::string & val);
  15. bool pushCallIndex(std::string callIndex);
  16. bool getCallIndex(int index, std::string& callIndex);
  17. bool pushSubmitData(int nEventType, std::string state);
  18. bool getSubmitData(int nEventType, std::string& state);
  19. // 驻马店专用
  20. bool pushZmdExtenStateList(std::string& extList);
  21. bool getZmdExtenStateList(std::string& extList);
  22. // 重启
  23. // 保存在线坐席详情,坐席号,分机号,组号,
  24. bool pushOnlineAgentGroupDetail(std::string& groupNo, std::string &agentList);
  25. // 获取
  26. bool getOnlineAgentGroupDetail(std::vector<std::string>&agentList);
  27. // 删除
  28. bool delOnlineAgentGroupDetail(int agentID, int extenNo);
  29. // 清空 httpserver重启调用,httpserver重启会和前端链接完全断开,此时不能恢复签入状态
  30. bool clearOnlineAgentGroupDetail();
  31. // 保存acd与cti的链接状态
  32. bool pushCtiState(bool isRun);
  33. bool getCtiState();
  34. #endif //PCH_H