org.ccnx.ccn.test.profiles.ccnd.InterestEndToEndUsingPrefixTest Class Reference

Test sending interests across ccnd. More...

Inheritance diagram for org.ccnx.ccn.test.profiles.ccnd.InterestEndToEndUsingPrefixTest:

org.ccnx.ccn.test.LibraryTestBase org.ccnx.ccn.CCNInterestHandler org.ccnx.ccn.CCNContentHandler org.ccnx.ccn.test.CCNTestBase

List of all members.

Public Member Functions

void testInterestEndToEnd () throws MalformedContentNameStringException, IOException, InterruptedException
boolean handleInterest (Interest interest)
 Callback called when we get a new interest matching our filter.
Interest handleContent (ContentObject data, Interest interest)
 Callback called when we get new results for our query.


Detailed Description

Test sending interests across ccnd.

Requires a running ccnd


Member Function Documentation

boolean org.ccnx.ccn.test.profiles.ccnd.InterestEndToEndUsingPrefixTest.handleInterest ( Interest  interest  ) 

Callback called when we get a new interest matching our filter.

Parameters:
interests The matching interest
Returns:
true if this handler has consumed the interest (that is the handler returned data satisfying the interest).

Implements org.ccnx.ccn.CCNInterestHandler.

Interest org.ccnx.ccn.test.profiles.ccnd.InterestEndToEndUsingPrefixTest.handleContent ( ContentObject  data,
Interest  interest 
)

Callback called when we get new results for our query.

Parameters:
data the ContentObject that matched our Interest
interest Interest that was satisfied
Returns:
new Interest to be expressed

Implements org.ccnx.ccn.CCNContentHandler.


The documentation for this class was generated from the following file:

Generated on Thu Feb 16 00:45:09 2012 for Content-Centric Networking in Java by  doxygen 1.5.6