51Degrees Pipeline .NET  4.1

51Degrees Pipeline for .NET

FiftyOne.Pipeline.Engines.Trackers.ITracker Interface Reference

Detailed Description

Represents a 'tracker'. A tracker is a data structure that stores meta-data relating to a key derived from a given IFlowData instance. This meta-data is used to determine if the IFlowData should continue to be processed or not.

The details of key creation and the specifics of the meta-data are determined by the tracker implementation.

As an example, a tracker could create a key using the source IP address from the IFlowData evidence and use the associated meta-data to store a count of the number of times a given source IP has been seen.

Inheritance diagram for FiftyOne.Pipeline.Engines.Trackers.ITracker:

[legend]

Public Member Functions

bool  Track (IFlowData data)
Track the specified IFlowData instance. More...

Member Function Documentation

◆ Track()

bool FiftyOne.Pipeline.Engines.Trackers.ITracker.Track ( IFlowData   data )

Track the specified IFlowData instance.

If the key created from the data does not yet exist in the tracker then it will be added. If it does already exist then the meta-data will be updated according to the tracker implementation's logic.

Parameters
data - The IFlowData to track.
Returns
True if further processing is allowed by the tracker's logic. False otherwise.

Implemented in FiftyOne.Pipeline.Engines.Trackers.TrackerBase< TValue >.