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

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

Definition at line 53 of file filter.hpp.

Member Function Documentation

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

Definition at line 58 of file filter.hpp.

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

bool ndn::security::conf::Filter::match ( const Interest interest)
inline
virtual bool ndn::security::conf::Filter::matchName ( const Name name)
protectedpure virtual

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