diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-07 12:01:03 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-07 12:01:03 -0700 |
| commit | a7d988745bcca4a0f9c838ec493e658b098d241d (patch) | |
| tree | 7fd7913750f9da3e0ef92ef80d7131e14315e4b9 /node/Path.hpp | |
| parent | a9f404aac344e5d07278a684b224df74e2529afe (diff) | |
| download | infinitytier-a7d988745bcca4a0f9c838ec493e658b098d241d.tar.gz infinitytier-a7d988745bcca4a0f9c838ec493e658b098d241d.zip | |
Use ECHO instead of HELLO where possible.
Diffstat (limited to 'node/Path.hpp')
| -rw-r--r-- | node/Path.hpp | 7 |
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; } |
