org.ccnx.ccn.test.repo.MultiResponderNameEnumerationTest Class Reference

Test to verify the library handles multiple responders for name enumeration properly. More...

Inheritance diagram for org.ccnx.ccn.test.repo.MultiResponderNameEnumerationTest:

org.ccnx.ccn.profiles.nameenum.BasicNameEnumeratorListener

List of all members.

Public Member Functions

void setUp ()
void cleanup ()
int handleNameEnumerator (ContentName prefix, ArrayList< ContentName > returnedNames)
 Callback called when we get a collection matching a registered prefix.
void multiResponderNameEnumerationTest ()
void testGetResponses ()

Package Attributes

CCNNameEnumerator getne
CCNNameEnumerator putne
CCNHandle _putHandle
CCNHandle _getHandle
CCNHandle _fileHandle
CCNTestHelper helper
ContentName _prefix
ContentName _class2
ContentName _class
ContentName _repo
boolean updated
ArrayList< ContentNamenames


Detailed Description

Test to verify the library handles multiple responders for name enumeration properly.

Member Function Documentation

int org.ccnx.ccn.test.repo.MultiResponderNameEnumerationTest.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.


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

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