Feature #3979
Updated by Junxiao Shi over 7 years ago
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 solves the problem brought up in (#3892 note 16) by allowing `BundleBuilder` to collect certificates by simply expressing Interests, solving #3892-16. Interests. 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 network to fetch data, and has face/network 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.