diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-07-15 15:27:53 -0500 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-07-15 15:27:53 -0500 |
| commit | bdc2ec1f5e2074c067ce225352de3e0dd92b1356 (patch) | |
| tree | 54df8b0f0f7b03237652a85147fe0b892adfc664 /controller/FileDB.hpp | |
| parent | d3728d585983ba9092d79a1e06f3d5fa7c4ff699 (diff) | |
| download | infinitytier-bdc2ec1f5e2074c067ce225352de3e0dd92b1356.tar.gz infinitytier-bdc2ec1f5e2074c067ce225352de3e0dd92b1356.zip | |
Track online status in FileDB
Diffstat (limited to 'controller/FileDB.hpp')
| -rw-r--r-- | controller/FileDB.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<uint64_t,std::map<int64_t,InetAddress> > > _online; + std::mutex _online_l; + bool _onlineChanged; + bool _running; }; } // namespace ZeroTier |
