Project

General

Profile

Actions

Feature #2567

closed

InterestFilter abstraction

Added by Alex Afanasyev about 9 years ago. Updated almost 9 years ago.

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 #1

Updated by Jeff Burke about 9 years ago

  • Project changed from jndn to NDN-CCL

Moving to NDN-CCL unless there's a reason to consider in jNDN first?

Actions #2

Updated by Alex Afanasyev about 9 years ago

I personally prefer this to be implemented in jNDN, as it is what has high priority for android applications.

Actions #3

Updated by Jeff Burke about 9 years ago

  • Assignee set to Anonymous
  • Priority changed from Normal to High

JeffB/JeffT agree. JeffT will look at implementing in jNDN first. May need some discussion.

Actions #4

Updated by Anonymous almost 9 years ago

  • Status changed from New to Closed

InterestFilter was implemented as part of feature #2566.

Actions

Also available in: Atom PDF