多数据源中间件标准版1.0

CellHttpClient.h 770B

1234567891011121314151617181920212223242526272829303132
  1. #pragma once
  2. #include "CellBase.h"
  3. #include "CellAUTOCREATE.h"
  4. #include "CHttpUtil.h"
  5. class CCellHttpClient :public CCellBase
  6. {
  7. DECLARE_CELL_AUTOCREATE
  8. public:
  9. CCellHttpClient(void);
  10. CCellHttpClient(CCellHttpClient& CellHttpClient);
  11. virtual ~CCellHttpClient(void);
  12. ////////////////////////////////////////////////////////////////////////////////
  13. //继承自CCellBase
  14. int operate(void);
  15. CCellBase * copy(void);
  16. bool fillData(IFlowDataProvider& Provider);
  17. LPCTSTR name(void) const { return CELL_NAME_HTTP; }
  18. int maxWaitingTime(void) const { return 0; }
  19. private:
  20. bool m_IsSaveRs; // SQL语句是否返回记录集标志,1:返回 0:不返回
  21. int m_SuccessPos; // 执行成功,下一节点
  22. int m_FailPos; // 执行失败, 下一节点
  23. CString m_Url; // 要请求的URL
  24. };