Keep track of prefixes that are actually registered with ccnd (as opposed to Filters used to dispatch interests). More...
Public Member Functions
|RegisteredPrefix (ForwardingEntry forwarding)|
|Interest||handleContent (ContentObject data, Interest interest)|
|Catch results of prefix deregistration. |
|long||_nextRefresh = -1|
Keep track of prefixes that are actually registered with ccnd (as opposed to Filters used to dispatch interests).
There may be several filters for each registered prefix.
Catch results of prefix deregistration.
We can then unlock registration to allow new registrations or deregistrations. Note that we wait for prefix registration to complete during the setInterestFilter call but we don't wait for deregistration to complete during cancelInterestFilter. This is because we need to insure that we see interests for our prefix after a registration, but we don't need to worry about spurious interests arriving after a deregistration because they can't be delivered anyway. However to insure registrations are done correctly, we must wait for a pending deregistration to complete before starting another registration or deregistration.