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

Test sending interests across ccnd. More...

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

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.CCNInterestListener.

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.CCNFilterListener.


The documentation for this class was generated from the following file:
Generated on Fri May 13 16:27:53 2011 for Content-Centric Networking in Java by  doxygen 1.6.3