Actions
Feature #2567
closedInterestFilter abstraction
Status:
Closed
Priority:
High
Assignee:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
While it is only possible to register a prefix with local NFD, the callback dispatch inside the Face can use a more powerful mechanisms to do callback dispatch.
Suggested interface based on ndn-cxx:
class InterestFilter
{
InterestFilter(Name prefix);
InterestFilter(String prefixUri);
InterestFilter(Name prefix, String regexFilter);
boolean
doesMatch(Name name) const;
Name
getPrefix();
boolean
hasRegexFilter();
implementation-defined
getRegexFilter();
};
Actions