Public Member Functions | |
RegisteredPrefix (ForwardingEntry forwarding) | |
Interest | handleContent (ContentObject data, Interest interest) |
Catch results of prefix deregistration. | |
Protected Attributes | |
long | _nextRefresh = -1 |
There may be several filters for each registered prefix.
Interest org.ccnx.ccn.impl.CCNNetworkManager.RegisteredPrefix.handleContent | ( | ContentObject | data, | |
Interest | interest | |||
) |
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.
Implements org.ccnx.ccn.CCNContentHandler.