org.ccnx.ccn.test.profiles.nameenum.NameEnumeratorTestRepo Class Reference

List of all members.

Public Member Functions

void testSpanningEnumeration () throws Exception
 This tests a name enumeration where the NE Object spans more than one ContentObject.
int handleNameEnumerator (ContentName prefix, ArrayList< ContentName > names)
 Callback called when we get a collection matching a registered prefix.

Static Public Attributes

static final int NFILES = 1000
static final int TIMEOUT = 60000

Protected Attributes

int _NESize = 0
ArrayList< ContentName_seenNames = new ArrayList<ContentName>()

Static Package Attributes

static CCNTestHelper testHelper = new CCNTestHelper(NameEnumeratorTestRepo.class)
static String fileNameBase = "NETest"

Member Function Documentation

int org.ccnx.ccn.test.profiles.nameenum.NameEnumeratorTestRepo.handleNameEnumerator ( ContentName  prefix,
ArrayList< ContentName names 
)

Callback called when we get a collection matching a registered prefix.

Parameters:
prefix The ContentName prefix with matching responses.
names An ArrayList of ContentNames matching the prefix.
Returns:
int The number of names in the collection.

Implements org.ccnx.ccn.profiles.nameenum.BasicNameEnumeratorListener.

void org.ccnx.ccn.test.profiles.nameenum.NameEnumeratorTestRepo.testSpanningEnumeration (  )  throws Exception

This tests a name enumeration where the NE Object spans more than one ContentObject.

Tests a real world problem that occurred once.

Exceptions:
Exception 

The documentation for this class was generated from the following file:
Generated on Tue Aug 21 14:55:34 2012 for Content-Centric Networking in Java by  doxygen 1.6.3