More major Switch refactor work... still in progress.
This commit is contained in:
parent
ffad0b2780
commit
ae93c95151
4 changed files with 452 additions and 453 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue