summaryrefslogtreecommitdiff
path: root/controller/JSONDB.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-07-18 13:57:37 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-07-18 13:57:37 -0700
commit727ccb112543f3c44da3d094fa755e3a5d25cc3e (patch)
treea4902c18dd1323933089e63c2b8ede852dff5179 /controller/JSONDB.hpp
parent77ce2384578d96780737e6bfa2265ee94946eae6 (diff)
downloadinfinitytier-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.hpp3
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;