diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-07-18 13:57:37 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-07-18 13:57:37 -0700 |
commit | 727ccb112543f3c44da3d094fa755e3a5d25cc3e (patch) | |
tree | a4902c18dd1323933089e63c2b8ede852dff5179 /controller/JSONDB.hpp | |
parent | 77ce2384578d96780737e6bfa2265ee94946eae6 (diff) | |
download | infinitytier-727ccb112543f3c44da3d094fa755e3a5d25cc3e.tar.gz infinitytier-727ccb112543f3c44da3d094fa755e3a5d25cc3e.zip |
Cleanup and stdin/stdout harness mode for controller.
Diffstat (limited to 'controller/JSONDB.hpp')
-rw-r--r-- | controller/JSONDB.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/controller/JSONDB.hpp b/controller/JSONDB.hpp index 99b69ba2..23d00a51 100644 --- a/controller/JSONDB.hpp +++ b/controller/JSONDB.hpp @@ -145,12 +145,15 @@ public: throw(); private: + bool _add(const nlohmann::json &j); bool _load(const std::string &p); void _recomputeSummaryInfo(const uint64_t networkId); std::string _genPath(const std::string &n,bool create); std::string _basePath; InetAddress _httpAddr; + int _rawInput,_rawOutput; + Mutex _rawLock; Thread _summaryThread; std::vector<uint64_t> _summaryThreadToDo; |