org.ccnx.ccn.test.LibraryTestBase.PutServer Class Reference
List of all members.
Public Member Functions |
| PutServer (int n, int id) throws ConfigurationException, IOException |
void | run () |
synchronized boolean | handleInterest (Interest interest) |
| Callback called when we get a new interest matching our filter.
|
Protected Attributes |
CCNHandle | handle = null |
Package Attributes |
int | count = 0 |
int | next = 0 |
Semaphore | sema = new Semaphore(0) |
ContentName | name = null |
HashSet< Integer > | accumulatedResults = new HashSet<Integer>() |
int | id |
CCNFlowControl | cf = null |
CCNWriter | writer = null |
Member Function Documentation
synchronized boolean org.ccnx.ccn.test.LibraryTestBase.PutServer.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:
- src/org/ccnx/ccn/test/LibraryTestBase.java