#include <PacketListener.h>
Inheritance diagram for FilteredPacketListener:
Public Member Functions | |
virtual FilteredPacketListener & | operator= (const PacketListener &rhs) |
virtual void | handlePacket (TraceIterator &newPkt) |
virtual void | handlePassedPacket (TraceIterator &newPkt)=0 |
Protected Member Functions | |
FilteredPacketListener (void) | |
FilteredPacketListener (const PacketFilter &f) | |
FilteredPacketListener (const FilteredPacketListener &toCopy) |
|
create a FilteredPacketListener with a NULL filter - works the same as a normal PacketFilter except that you need to override handlePassedPacket() instead of handlePacket(). |
|
create a FilteredPacketListener with a given filter |
|
checks the packet against the filter and calls handlePassedPacket if it passes or if the filter is NULL Implements PacketListener. |
|
template method - override in subclasses Implemented in ArithmeticAttribute< lType, rType, resType >, ByteCountAttribute, ConversationTrackerAttribute, DurationAttribute, HistogramAttribute< T >, MemoryAttribute< T >, PacketDrivenMemoryAttribute< T >, SampledMemoryAttribute< T >, PacketCountAttribute, SumAttribute< T >, Attribute, IPv4Demux, IPv4Sessionizer, ProtocolParser, SingleOutputParser, StreamedOutputParser, SimpleTCPParser, StreamedTCPParser, and StreamedUDPParser. |