From 557801a09ef31c243add5f6d6de7a5f67af53ed2 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 24 Sep 2014 09:04:09 -0700 Subject: Rename PacketDecoder to much more descriptive IncomingPacket --- node/IncomingPacket.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'node/IncomingPacket.hpp') 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 @@ -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; + friend class SharedPtr; public: /** @@ -77,7 +77,7 @@ public: * @throws std::out_of_range Range error processing packet */ template - PacketDecoder(const Buffer &b,const SharedPtr &fromSock,const InetAddress &remoteAddress) + IncomingPacket(const Buffer &b,const SharedPtr &fromSock,const InetAddress &remoteAddress) throw(std::out_of_range) : Packet(b), _receiveTime(Utils::now()), -- cgit v1.2.3