Express interest in a name and report content retrieved. More...
Public Member Functions | |
| watch (CCNHandle handle) | |
| void | initialize () |
| void | work () |
| void | run () |
| Interest | handleContent (ContentObject data, Interest interest) |
| Callback called when we get new results for our query. | |
Static Public Member Functions | |
| static void | usage () |
| static void | main (String[] args) |
Protected Attributes | |
| boolean | _stop = false |
| ArrayList< Interest > | _interests = new ArrayList<Interest>() |
| CCNHandle | _handle = null |
Express interest in a name and report content retrieved.
This program has not been updated to handle interests in a sophisticated way and so it is likely to receive the same content over and over.
| Interest org.ccnx.ccn.utils.watch.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.
| static void org.ccnx.ccn.utils.watch.main | ( | String[] | args | ) | [static] |
| args |
1.6.3