diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-11 17:52:04 -0400 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-11 17:52:04 -0400 |
commit | ae93c95151adf3806b6d9eb1cedc2bf1f034655e (patch) | |
tree | 87d61dc7a35718449af062244d286e41b5604cd8 /node/PacketDecoder.hpp | |
parent | ffad0b27809f8ec0cca11a5dabd9624340857f57 (diff) | |
download | infinitytier-ae93c95151adf3806b6d9eb1cedc2bf1f034655e.tar.gz infinitytier-ae93c95151adf3806b6d9eb1cedc2bf1f034655e.zip |
More major Switch refactor work... still in progress.
Diffstat (limited to 'node/PacketDecoder.hpp')
-rw-r--r-- | node/PacketDecoder.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/node/PacketDecoder.hpp b/node/PacketDecoder.hpp index 09f6e1c4..5f27c56b 100644 --- a/node/PacketDecoder.hpp +++ b/node/PacketDecoder.hpp @@ -52,7 +52,7 @@ public: template<unsigned int C2> PacketDecoder(const Buffer<C2> &b,Demarc::Port localPort,const InetAddress &remoteAddress) throw(std::out_of_range) : - Packet(b) : + Packet(b), _receiveTime(Utils::now()), _localPort(localPort), _remoteAddress(remoteAddress), @@ -76,6 +76,8 @@ public: inline uint64_t receiveTime() const throw() { return _receiveTime; } private: + void _doHELLO(Demarc::Port localPort,const InetAddress &fromAddr); + uint64_t _receiveTime; Demarc::Port _localPort; InetAddress _remoteAddress; |