diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-04 11:40:38 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-04 11:40:38 -0700 |
| commit | 98152d974ada42e659e65590dec9a53d0a28ef54 (patch) | |
| tree | 0b548af496bc78c0f106b5592322024c274491a5 /node/IncomingPacket.hpp | |
| parent | 56febbf2bac2c51d9478616a1dd28243ef03f406 (diff) | |
| download | infinitytier-98152d974ada42e659e65590dec9a53d0a28ef54.tar.gz infinitytier-98152d974ada42e659e65590dec9a53d0a28ef54.zip | |
More cleanup and removal of DeferredPackets, will do the latter in a more elegant way.
Diffstat (limited to 'node/IncomingPacket.hpp')
| -rw-r--r-- | node/IncomingPacket.hpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/node/IncomingPacket.hpp b/node/IncomingPacket.hpp index bfb30a5e..558dfaa2 100644 --- a/node/IncomingPacket.hpp +++ b/node/IncomingPacket.hpp @@ -118,21 +118,12 @@ public: * about whether the packet was valid. A rejection is 'complete.' * * Once true is returned, this must not be called again. The packet's state - * may no longer be valid. The only exception is deferred decoding. In this - * case true is returned to indicate to the normal decode path that it is - * finished with the packet. The packet will have added itself to the - * deferred queue and will expect tryDecode() to be called one more time - * with deferred set to true. - * - * Deferred decoding is performed by DeferredPackets.cpp and should not be - * done elsewhere. Under deferred decoding packets only get one shot and - * so the return value of tryDecode() is ignored. + * may no longer be valid. * * @param RR Runtime environment - * @param deferred If true, this is a deferred decode and the return is ignored * @return True if decoding and processing is complete, false if caller should try again */ - bool tryDecode(const RuntimeEnvironment *RR,bool deferred); + bool tryDecode(const RuntimeEnvironment *RR); /** * @return Time of packet receipt / start of decode |
