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 Name &name) 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 33 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 42 of file interest-filter-record.hpp.
|
inline |
Definition at line 53 of file interest-filter-record.hpp.
|
inline |
Check if Interest name matches the filter.
Definition at line 63 of file interest-filter-record.hpp.
References ndn::InterestFilter::doesMatch().
|
inline |
invokes the InterestCallback
Definition at line 73 of file interest-filter-record.hpp.