org.ccnx.ccn.CCNInterestListener Interface Reference

Deprecated - use CCNContentHandler instead. More...

List of all members.


Detailed Description

Deprecated - use CCNContentHandler instead.

A listener used to receive callbacks when data arrives matching one of our asynchronously-expressed Interests (expressed with CCNBase.expressInterest(Interest, CCNInterestListener)). Once the listener is called with matching data, the Interest is canceled. As a convenience, the listener can return a new Interest, which will be expressed on its behalf, using it as the callback listener when data is returned in response. This new Interest can be the same as the previous Interest, derived from it, or completely unrelated. Since data consumes Interest, there can only be a single response for one Interest expression.

See also:
CCNBase

The documentation for this interface was generated from the following file:
Generated on Tue Aug 21 14:55:17 2012 for Content-Centric Networking in Java by  doxygen 1.6.3