NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::security::conf::Filter Class Referenceabstract

Filter is one of the classes used by ValidatorConfig. More...

#include <filter.hpp>

Inheritance diagram for ndn::security::conf::Filter:

Public Member Functions

virtual ~Filter ()
bool match (const Data &data)
bool match (const Interest &interest)

Protected Member Functions

virtual bool matchName (const Name &name)=0

Detailed Description

Filter is one of the classes used by ValidatorConfig.

The ValidatorConfig class consists of a set of rules. The Filter class is a part of a rule and is used to match packet. Matched packets will be checked against the checkers defined in the rule.

Definition at line 48 of file filter.hpp.

Constructor & Destructor Documentation

§ ~Filter()

virtual ndn::security::conf::Filter::~Filter ( )

Definition at line 53 of file filter.hpp.

Member Function Documentation

§ match() [1/2]

bool ndn::security::conf::Filter::match ( const Data data)

Definition at line 58 of file filter.hpp.

References ndn::Data::getName(), and matchName().

§ match() [2/2]

bool ndn::security::conf::Filter::match ( const Interest interest)

§ matchName()

virtual bool ndn::security::conf::Filter::matchName ( const Name name)
protectedpure virtual

The documentation for this class was generated from the following file: