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

synchronized Interest org.ccnx.ccn.test.LibraryTestBase.GetServer.handleContent ( ContentObject  data,
Interest  interest 
)

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:
Generated on Fri May 13 16:27:51 2011 for Content-Centric Networking in Java by  doxygen 1.6.3