More major Switch refactor work... still in progress.

This commit is contained in:
Adam Ierymenko 2013-07-11 17:52:04 -04:00
parent ffad0b2780
commit ae93c95151
4 changed files with 452 additions and 453 deletions

View file

@ -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;