#include <packetchainstep.h>
Inheritance diagram for PacketChainStep< PacketType >:
Public Member Functions | |
void | setNext (PacketChainStep< PacketType > *n) |
PacketChainStep () | |
virtual void | pack (PacketType *packet)=0 |
This method will be called when a packet is packed by the packet-chain. | |
virtual void | unpack (PacketType *packet)=0 |
This method will be called when a packet is unpacked. | |
PacketChainStep< PacketType > * | getNext () const |
This method returns the next step in the chain. | |
void | purge () |
This method will call the onPurge() method recursively on all steps in a chain. | |
virtual void | onPurge () |
This method will be called when ever the "purge(...)" method is called. | |
Protected Attributes | |
PacketChainStep< PacketType > * | next |
Definition at line 34 of file packetchainstep.h.