Public Member Functions | |
void | testDeprecatedMethods () throws Throwable |
boolean | handleInterest (Interest interest) |
Callback called when we get a new interest matching our filter. | |
Interest | handleContent (ContentObject data, Interest interest) |
Callback called when we get new results for our query. | |
Package Attributes | |
boolean | sawInterest = false |
boolean | sawContent = false |
Semaphore | interestSema = null |
Semaphore | contentSema = null |
boolean | putNow = false |
int | counter = 0 |
Static Package Attributes | |
static final int | QUICK_TIMEOUT = 200 |
static final int | MORE_THAN_RETRY_TIMEOUT = SystemConfiguration.INTEREST_REEXPRESSION_DEFAULT * 2 |
static CCNTestHelper | testHelper = new CCNTestHelper(DeprecatedInterfaceTest.class) |
static ContentName | prefix = testHelper.getTestNamespace("testDeprecatedInterfaces") |
boolean org.ccnx.ccn.test.impl.DeprecatedInterfaceTest.handleInterest | ( | Interest | interest | ) |
Callback called when we get a new interest matching our filter.
interests | The matching interest |
Implements org.ccnx.ccn.CCNInterestHandler.
Interest org.ccnx.ccn.test.impl.DeprecatedInterfaceTest.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.