NettyHttpPeakValleyConfig.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #pragma once
  2. #include <iostream>
  3. using namespace std;
  4. #include <iostream>
  5. #include <rapidjson/document.h>
  6. #include <rapidjson/rapidjson.h>
  7. #include <rapidjson/stringbuffer.h>
  8. #include <rapidjson/writer.h>
  9. #include <vector>
  10. #include "Util/logger.h"
  11. #include "Util/NoticeCenter.h"
  12. #include "Poller/EventPoller.h"
  13. #include "Player/PlayerProxy.h"
  14. #include "Rtmp/RtmpPusher.h"
  15. #include "Common/config.h"
  16. #include "Pusher/MediaPusher.h"
  17. #include "Extension/Frame.h"
  18. #include "Util/SqlPool.h"
  19. #include "Network/TcpClient.h"
  20. #include "Poller/Timer.h"
  21. class NettyHttpPeakValleyConfig
  22. {
  23. public:
  24. std::string addTime;
  25. std::string updateTime;
  26. int createBy;
  27. int updateBy;
  28. std::string attr1;
  29. std::string attr2;
  30. std::string attr3;
  31. int appId;
  32. int pvcId;
  33. std::string startTime;
  34. std::string endTime;
  35. int timeType;
  36. std::string remark;
  37. public:
  38. NettyHttpPeakValleyConfig() {}
  39. ~NettyHttpPeakValleyConfig() {}
  40. bool jsonToObject(const rapidjson::Value& object);
  41. /**
  42. * @description: 数据同步
  43. * @param {*}
  44. * @return {*}
  45. */
  46. bool NettyClientDataSync();
  47. };