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 |
NOTE: This test requires ccnd to be running and complementary sink process
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.
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.
interests | The matching interest |
Implements org.ccnx.ccn.CCNInterestHandler.