From bdc2ec1f5e2074c067ce225352de3e0dd92b1356 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 15 Jul 2019 15:27:53 -0500 Subject: Track online status in FileDB --- controller/FileDB.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'controller/FileDB.hpp') diff --git a/controller/FileDB.hpp b/controller/FileDB.hpp index 89c4d814..0a8b9d2e 100644 --- a/controller/FileDB.hpp +++ b/controller/FileDB.hpp @@ -48,6 +48,11 @@ public: protected: std::string _networksPath; std::string _tracePath; + std::thread _onlineUpdateThread; + std::map< uint64_t,std::map > > _online; + std::mutex _online_l; + bool _onlineChanged; + bool _running; }; } // namespace ZeroTier -- cgit v1.2.3