org.ccnx.ccn.test.profiles.versioning.VersioningHelper.TestListener Class Reference

List of all members.

Public Member Functions

synchronized Interest handleContent (ContentObject data, Interest interest)
 Callback called when we get new results for our query.
void setInterestData (InterestData id)
boolean run (CCNHandle handle, int count, long timeout) throws IOException, InterruptedException
 Sends interests, blocks until done or timeout.

Public Attributes

final ConditionLong cl = new ConditionLong(0)
final ArrayList< ReceivedDatareceived = new ArrayList<ReceivedData>()
InterestData id = null
int runCount = 0
boolean debugOutput = false
boolean sendFirstInterest = true

Member Function Documentation

synchronized Interest org.ccnx.ccn.test.profiles.versioning.VersioningHelper.TestListener.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.

boolean org.ccnx.ccn.test.profiles.versioning.VersioningHelper.TestListener.run ( CCNHandle  handle,
int  count,
long  timeout 
) throws IOException, InterruptedException

Sends interests, blocks until done or timeout.

Parameters:
handle 
count 
timeout 
Returns:
true if count received, false otherwise
Exceptions:
IOException 
InterruptedException 

The documentation for this class was generated from the following file:
Generated on Fri May 13 16:27:55 2011 for Content-Centric Networking in Java by  doxygen 1.6.3