diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-06 14:58:34 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-06 14:58:34 -0400 |
| commit | 7c85a638b054f115cbb3c00d45e32cbf6db2a56c (patch) | |
| tree | 7e6907d4b75f98bf806ab805ac22aefb8dd753a6 /node/Node.hpp | |
| parent | 68cc5ea523402a29dca414e285decc1a5d1a9c15 (diff) | |
| download | infinitytier-7c85a638b054f115cbb3c00d45e32cbf6db2a56c.tar.gz infinitytier-7c85a638b054f115cbb3c00d45e32cbf6db2a56c.zip | |
Added creation and periodic update of a file called "status" in the home directory that contains peer link status. Useful for debugging and statistics. Send it SIGHUP to force an update now. Otherwise it updates every 120 seconds.
Diffstat (limited to 'node/Node.hpp')
| -rw-r--r-- | node/Node.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/node/Node.hpp b/node/Node.hpp index 1cc9a746..df6b946f 100644 --- a/node/Node.hpp +++ b/node/Node.hpp @@ -99,6 +99,12 @@ public: throw(); /** + * Update the status file in the home directory on next service loop + */ + void updateStatusNow() + throw(); + + /** * Get the ZeroTier version in major.minor.revision string format * * @return Version in string form |
