From 7c85a638b054f115cbb3c00d45e32cbf6db2a56c Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Sat, 6 Jul 2013 14:58:34 -0400 Subject: 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. --- node/Node.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'node/Node.hpp') diff --git a/node/Node.hpp b/node/Node.hpp index 1cc9a746..df6b946f 100644 --- a/node/Node.hpp +++ b/node/Node.hpp @@ -98,6 +98,12 @@ public: void terminate() 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 * -- cgit v1.2.3