org.ccnx.ccn.test.io.CCNVersionedOutputStreamTest Class Reference

List of all members.

Classes

class  Writer

Public Member Functions

void testAddOutstandingInterest () throws Exception
boolean handleInterest (Interest interest)
 Callback called when we get a new interest matching our filter.

Static Public Member Functions

static void setUpBeforeClass () throws Exception
static void cleanupAfterClass ()
static byte[] readFile (InputStream inputStream) throws IOException
static byte[] writeRandomFile (OutputStream stream, int fileLength, Random randBytes) throws IOException

Static Package Attributes

static CCNTestHelper testHelper = new CCNTestHelper(CCNVersionedOutputStreamTest.class)
static CCNHandle readHandle
static CCNHandle writeHandle
static byte[] writeDigest
static int BUF_SIZE = 2048
static int FILE_SIZE = 65556
static Writer writer

Member Function Documentation

boolean org.ccnx.ccn.test.io.CCNVersionedOutputStreamTest.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:52 2011 for Content-Centric Networking in Java by  doxygen 1.6.3