diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-09-24 09:04:09 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-09-24 09:04:09 -0700 |
| commit | 557801a09ef31c243add5f6d6de7a5f67af53ed2 (patch) | |
| tree | 83421970ce0a02366d3a50a77646543b913684bb /node/IncomingPacket.hpp | |
| parent | 9180a309862f1d2abb946381b5b92a823913d425 (diff) | |
| download | infinitytier-557801a09ef31c243add5f6d6de7a5f67af53ed2.tar.gz infinitytier-557801a09ef31c243add5f6d6de7a5f67af53ed2.zip | |
Rename PacketDecoder to much more descriptive IncomingPacket
Diffstat (limited to 'node/IncomingPacket.hpp')
| -rw-r--r-- | node/IncomingPacket.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/node/IncomingPacket.hpp b/node/IncomingPacket.hpp index 971b61b8..fe14587a 100644 --- a/node/IncomingPacket.hpp +++ b/node/IncomingPacket.hpp @@ -25,8 +25,8 @@ * LLC. Start here: http://www.zerotier.com/ */ -#ifndef ZT_PACKETDECODER_HPP -#define ZT_PACKETDECODER_HPP +#ifndef ZT_INCOMINGPACKET_HPP +#define ZT_INCOMINGPACKET_HPP #include <stdexcept> @@ -63,9 +63,9 @@ class Network; /** * Subclass of packet that handles the decoding of it */ -class PacketDecoder : public Packet +class IncomingPacket : public Packet { - friend class SharedPtr<PacketDecoder>; + friend class SharedPtr<IncomingPacket>; public: /** @@ -77,7 +77,7 @@ public: * @throws std::out_of_range Range error processing packet */ template<unsigned int C2> - PacketDecoder(const Buffer<C2> &b,const SharedPtr<Socket> &fromSock,const InetAddress &remoteAddress) + IncomingPacket(const Buffer<C2> &b,const SharedPtr<Socket> &fromSock,const InetAddress &remoteAddress) throw(std::out_of_range) : Packet(b), _receiveTime(Utils::now()), |
