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...
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 |
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.