#include <ProtocolParser.h>
Inheritance diagram for SingleOutputParser:
Public Member Functions | |
SingleOutputParser (Trace &out) | |
SingleOutputParser (const PacketFilter &filter, Trace &out) | |
virtual void | handlePassedPacket (TraceIterator &newPkt)=0 |
virtual void | handlePacket (TraceIterator &newPkt) |
Protected Attributes | |
Trace * | output |
|
checks the packet against the filter and calls handlePassedPacket if it passes or if the filter is NULL Implements PacketListener. |
|
send a packet to the parser to be processed Implements ProtocolParser. Implemented in SimpleTCPParser. |