associates an InterestFilter with Interest callback More...
#include <interest-filter-record.hpp>


Public Member Functions | |
| InterestFilterRecord (const InterestFilter &filter, const InterestCallback &interestCallback) | |
| Construct an Interest filter record. More... | |
| const InterestFilter & | getFilter () const |
| bool | doesMatch (const PendingInterest &entry) const |
| Check if Interest name matches the filter. More... | |
| void | invokeInterestCallback (const Interest &interest) const |
| invokes the InterestCallback More... | |
associates an InterestFilter with Interest callback
Definition at line 32 of file interest-filter-record.hpp.
|
inline |
Construct an Interest filter record.
| filter | an InterestFilter that represents what Interest should invoke the callback |
| interestCallback | invoked when matching Interest is received |
Definition at line 41 of file interest-filter-record.hpp.
|
inline |
Definition at line 52 of file interest-filter-record.hpp.
|
inline |
Check if Interest name matches the filter.
Definition at line 62 of file interest-filter-record.hpp.
References ndn::InterestFilter::allowsLoopback(), ndn::InterestFilter::doesMatch(), ndn::FORWARDER, ndn::PendingInterest::getInterest(), and ndn::PendingInterest::getOrigin().
|
inline |
invokes the InterestCallback
Definition at line 73 of file interest-filter-record.hpp.