From ae93c95151adf3806b6d9eb1cedc2bf1f034655e Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 11 Jul 2013 17:52:04 -0400 Subject: More major Switch refactor work... still in progress. --- node/PacketDecoder.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'node/PacketDecoder.hpp') 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 PacketDecoder(const Buffer &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; -- cgit v1.2.3