Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages | Examples

PacketChainStep< PacketType > Class Template Reference
[GanefCommon]

This is the interface that a step in a PacketChain must implement. All plugins implement this method, as do the queues. More...

#include <packetchainstep.h>

Inheritance diagram for PacketChainStep< PacketType >:

Plugin< PacketType > Queue< PacketType > List of all members.

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

Detailed Description

template<class PacketType>
class PacketChainStep< PacketType >

This is the interface that a step in a PacketChain must implement. All plugins implement this method, as do the queues.

Author:
Lars Langer and Emanuel Greisen

Definition at line 34 of file packetchainstep.h.


The documentation for this class was generated from the following file:
Generated on Mon Feb 6 12:24:52 2006 for Ganef by  doxygen 1.4.4