diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-11-08 11:06:14 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-11-08 11:06:14 -0800 |
| commit | 4166d8ca35ded34180d60b56105a853dd6b02ff4 (patch) | |
| tree | 3464cfb6e36f67ec5a8fe6f59eae8cbc40759c40 /controller/FileDB.hpp | |
| parent | 53e7e950f187008939dd5021f9d5f635f995f022 (diff) | |
| download | infinitytier-4166d8ca35ded34180d60b56105a853dd6b02ff4.tar.gz infinitytier-4166d8ca35ded34180d60b56105a853dd6b02ff4.zip | |
Fix a deadlock and some more work on RethinkDB (for central) integration.
Diffstat (limited to 'controller/FileDB.hpp')
| -rw-r--r-- | controller/FileDB.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/controller/FileDB.hpp b/controller/FileDB.hpp index fe9869b9..76a47936 100644 --- a/controller/FileDB.hpp +++ b/controller/FileDB.hpp @@ -32,12 +32,14 @@ public: virtual bool waitForReady(); - virtual void save(const nlohmann::json &record); + virtual void save(nlohmann::json *orig,nlohmann::json &record); virtual void eraseNetwork(const uint64_t networkId); virtual void eraseMember(const uint64_t networkId,const uint64_t memberId); + virtual void nodeIsOnline(const uint64_t memberId); + protected: std::string _networksPath; }; |
