summaryrefslogtreecommitdiff
path: root/node/Path.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-09-07 12:01:03 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-09-07 12:01:03 -0700
commita7d988745bcca4a0f9c838ec493e658b098d241d (patch)
tree7fd7913750f9da3e0ef92ef80d7131e14315e4b9 /node/Path.hpp
parenta9f404aac344e5d07278a684b224df74e2529afe (diff)
downloadinfinitytier-a7d988745bcca4a0f9c838ec493e658b098d241d.tar.gz
infinitytier-a7d988745bcca4a0f9c838ec493e658b098d241d.zip
Use ECHO instead of HELLO where possible.
Diffstat (limited to 'node/Path.hpp')
-rw-r--r--node/Path.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/node/Path.hpp b/node/Path.hpp
index 129913e1..27cff645 100644
--- a/node/Path.hpp
+++ b/node/Path.hpp
@@ -138,6 +138,13 @@ public:
bool send(const RuntimeEnvironment *RR,const void *data,unsigned int len,uint64_t now);
/**
+ * Manually update last sent time
+ *
+ * @param t Time of send
+ */
+ inline void sent(const uint64_t t) { _lastOut = t; }
+
+ /**
* @return Address of local side of this path or NULL if unspecified
*/
inline const InetAddress &localAddress() const { return _localAddress; }