org.ccnx.ccn.impl.CCNNetworkManager.InterestRegistration Class Reference

Record of Interest This is the mechanism that calls a user contentHandler when a ContentObject that matches their interest is received by the network manager. More...

Inheritance diagram for org.ccnx.ccn.impl.CCNNetworkManager.InterestRegistration:

org.ccnx.ccn.impl.CCNNetworkManager.CallbackHandlerRegistration

List of all members.

Public Member Functions

 InterestRegistration (Interest i, Object h, Object owner)
void deliver (ContentObject co)
 Deliver content to a registered handler.

Public Attributes

final Interest interest

Protected Attributes

long nextRefresh
ContentObject content


Detailed Description

Record of Interest This is the mechanism that calls a user contentHandler when a ContentObject that matches their interest is received by the network manager.

handler must be set (non-null) for cases of standing Interest that holds until canceled by the application. The listener should be null when a thread is blocked waiting for data, in which case the thread will be blocked on semaphore.


The documentation for this class was generated from the following file:

Generated on Thu Feb 16 00:44:51 2012 for Content-Centric Networking in Java by  doxygen 1.5.6