#include <Aggregate.h>
Inheritance diagram for StreamKey:
Public Member Functions | |
StreamKey (const StreamKey &toCopy) | |
virtual StreamKey & | operator= (const StreamKey &rhs) |
virtual StreamKey * | clone (void) const =0 |
virtual bool | operator== (const StreamKey &rhs) const =0 |
virtual bool | operator< (const StreamKey &rhs) const =0 |
virtual const PacketAttributeValue & | getAttrib (const PacketAttribute &attrib) const =0 throw ( UnknownAttributeException ) |
Get a packet attribute for the entire stream keyed by the StreamKey. | |
virtual bool | isBidirectional (void) const |
Does the stream represent both sides of a bidirectional flow? | |
virtual uint32_t | getDirection (const TraceIterator &packet) const |
determine the direction of a packet relative to a bidirectional StreamKey | |
virtual std::string | toString (void) const =0 |
Static Public Attributes | |
static const uint32_t | DIR_FORWARD = 0 |
static const uint32_t | DIR_REVERSE = 1 |
StreamKey is an abstract class / interface; StreamKey subclasses are used to identify the criteria used to decompose an Aggregate, e.g. ( ip.src, ip.dst ).
|
Get a packet attribute for the entire stream keyed by the StreamKey.
Implemented in NullKey, FullIPv4SessionKey, IPv4Key, SessionKey, and TransportKey. |
|
determine the direction of a packet relative to a bidirectional StreamKey
Reimplemented in FullIPv4SessionKey, IPv4Key, and TransportKey. |
|
operator< provided to support StrictWeakOrdering for STL containers Implemented in NullKey, FullIPv4SessionKey, IPv4Key, SessionKey, and TransportKey. |
|
compare two StreamKeys for equality Implemented in NullKey, FullIPv4SessionKey, IPv4Key, SessionKey, and TransportKey. |
|
Last type identifier used by a StreamKey subclass; a new StreamKey should use a type identifier one greater than this. |