org.ccnx.ccn.CCNInterestListener Interface Reference

Deprecated - use CCNContentHandler instead. More...

Inheritance diagram for org.ccnx.ccn.CCNInterestListener:

org.ccnx.ccn.CCNContentHandler org.ccnx.ccn.test.impl.DeprecatedInterfaceTest

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 Thu Feb 16 00:44:51 2012 for Content-Centric Networking in Java by  doxygen 1.5.6