org.ccnx.ccn.test.endtoend.EndToEndTestSource Class Reference

Part of the end to end test infrastructure. More...

Inheritance diagram for org.ccnx.ccn.test.endtoend.EndToEndTestSource:

org.ccnx.ccn.test.endtoend.BaseLibrarySource org.ccnx.ccn.CCNInterestHandler

List of all members.

Public Member Functions

void source () throws Throwable
void sync () throws IOException, MalformedContentNameStringException, SignatureException
 This does a simple sync with EndToEndTestSink so that we know its started up before we start counting on it doing other things.
void puts () throws Throwable
void server () throws Throwable
synchronized boolean handleInterest (Interest interest)
 Callback called when we get a new interest matching our filter.

Protected Attributes

CCNWriter _writer


Detailed Description

Part of the end to end test infrastructure.

NOTE: This test requires ccnd to be running and complementary sink process


Member Function Documentation

void org.ccnx.ccn.test.endtoend.EndToEndTestSource.sync (  )  throws IOException, MalformedContentNameStringException, SignatureException

This does a simple sync with EndToEndTestSink so that we know its started up before we start counting on it doing other things.

Exceptions:
MalformedContentNameStringException 
IOException 
SignatureException 

synchronized boolean org.ccnx.ccn.test.endtoend.EndToEndTestSource.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.


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

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