Feature #3979
closedConfigure Face::expressInterest to allow forward Interest to the incoming face
100%
Description
The feature adds new APIs to configure the behavior of Face::expressInterest
: (1) set it to forward an Interest toward an InterestFilter
registered on the same ndn::Face. (2) or set it not to do that.
This feature allows BundleBuilder
to collect certificates by simply expressing Interests, solving #3892-16.
In general, this feature simplifies the implementation of an application if this application itself produces the data it is interested in and saves data in remote repos. Using the current Face::expressInterest
, the application needs to check whether an Interest can be satisfied locally, if not, the application sends Interest to network to fetch data; or conversely. After this feature is enabled, the application could simply send Interest to face to fetch data, and has face/network decide how to fetch data.
The tasks of enabling this feature include:
- Deciding a name for this property.
- Implementing an API to configure (a) whether some (Interest with specific) prefixes are allowed to forward to the incoming face; (b) if allowed, forward Interest back to the same face first or send Interest to network first.