Public Member Functions | |
void | repoNameEnumerationTest () |
int | handleNameEnumerator (ContentName prefix, ArrayList< ContentName > names) |
Callback called when we get a collection matching a registered prefix. | |
void | setHandles () |
void | closeHandles () |
void | testRegisterPrefix () |
void | registerPrefix (ContentName prefix) |
ContentName | registerPrefix (String pre) |
void | testCancelPrefix () |
void | testGetResponse (int count) |
void | explicitExcludeFastResponseTest () |
Interest | handleContent (ContentObject data, Interest interest) |
Callback called when we get new results for our query. | |
Package Attributes | |
CCNHandle | getLibrary |
CCNNameEnumerator | getne |
String | prefix1String = RepoTestBase._globalPrefix+"/nameEnumerate" |
ContentName | prefix1 |
Random | rand = new Random() |
CCNHandle | putLibrary |
AssertionCCNHandle | explicitExcludeHandle |
ArrayList< ContentName > | names1 = null |
ArrayList< ContentName > | names2 = null |
ArrayList< ContentName > | names3 = null |
int | contentReceived = 0 |
ContentName | repoID = null |
boolean | firstResponse = true |
Static Package Attributes | |
static final long | WAIT_TIME = 500 |
Test repository side of name enumeration.
int org.ccnx.ccn.test.repo.RepoNameEnumeratorTest.handleNameEnumerator | ( | ContentName | prefix, | |
ArrayList< ContentName > | names | |||
) |
Callback called when we get a collection matching a registered prefix.
prefix | The ContentName prefix with matching responses. | |
names | An ArrayList of ContentNames matching the prefix. |
Implements org.ccnx.ccn.profiles.nameenum.BasicNameEnumeratorListener.
Interest org.ccnx.ccn.test.repo.RepoNameEnumeratorTest.handleContent | ( | ContentObject | data, | |
Interest | interest | |||
) |
Callback called when we get new results for our query.
data | the ContentObject that matched our Interest | |
interest | Interest that was satisfied |
Implements org.ccnx.ccn.CCNContentHandler.