org.ccnx.ccn.test.LibraryTestBase.GetServer Class Reference
List of all members.
Public Member Functions |
| GetServer (int n, int id) throws ConfigurationException, IOException |
void | run () |
synchronized Interest | handleContent (ContentObject contentObject, Interest interest) |
| Callback called when we get new results for our query.
|
Protected Attributes |
CCNHandle | handle = null |
Package Attributes |
int | count = 0 |
int | next = 0 |
Semaphore | sema = new Semaphore(0) |
HashSet< Integer > | accumulatedResults = new HashSet<Integer>() |
int | id |
Member Function Documentation
Callback called when we get new results for our query.
- Parameters:
-
| data | the ContentObject that matched our Interest |
| interest | Interest that was satisfied |
- Returns:
- new Interest to be expressed
Implements org.ccnx.ccn.CCNInterestListener.
The documentation for this class was generated from the following file:
- src/org/ccnx/ccn/test/LibraryTestBase.java