Public Member Functions | |
boolean | handleInterest (Interest interest) |
Callback called when we get a new interest matching our filter. |
This interface provides the callback structure to be called back when an Interest is seen that matches a filter. Filters are registered using CCNBase.registerFilter(ContentName, CCNInterestHandler). Note that we will only see interests that match the name we registered in our filter -- in other words, Interests in that name or its children; not its parents. We will also only see Interests that were not already satisfied out of ccnd's own cache (or on the network path to our node).
boolean org.ccnx.ccn.CCNInterestHandler.handleInterest | ( | Interest | interest | ) |
Callback called when we get a new interest matching our filter.
interests | The matching interest |
Implemented in org.ccnx.ccn.impl.CCNFlowControl, org.ccnx.ccn.impl.repo.RepositoryInterestHandler, org.ccnx.ccn.profiles.nameenum.CCNNameEnumerator, org.ccnx.ccn.test.endtoend.EndToEndTestSource, org.ccnx.ccn.test.impl.DeprecatedInterfaceTest, org.ccnx.ccn.test.profiles.ccnd.InterestEndToEndUsingPrefixTest, org.ccnx.ccn.test.protocol.InterestEndToEndTest, and org.ccnx.ccn.test.protocol.LatestVersionTest.Responder.