Feature #3919
closed
Scoped prefix registration
Added by Alex Afanasyev almost 8 years ago.
Updated over 5 years ago.
Description
Provide type(s) to hold a RegisteredPrefixId
or InterestFilterId
. When exiting the scope containing an instance of that type, the prefix or InterestFilter is unregistered.
- Subject changed from Scoped prefix registration and scoped expressed Interest to Scoped prefix registration
- Description updated (diff)
- Estimated time set to 3.00 h
"scoped expressed Interest" is split to #4316.
Scoped RegisteredPrefixId
potentially conflicts with #2658 because there would be no way to notify that the unregistration has failed.
- Status changed from New to In Progress
- Assignee set to Junxiao Shi
- Target version set to v0.7
- % Done changed from 0 to 50
- Blocked by Task #4782: Install implementation detail headers added
- Status changed from In Progress to Closed
- % Done changed from 50 to 100
- Status changed from Closed to In Progress
- % Done changed from 100 to 50
Similar to #2865, RegisteredPrefixHandle
and InterestFilterHandle
are using memory address as internal identification. They should be changed in this commit.
- % Done changed from 50 to 60
https://gerrit.named-data.net/5333
I'm attempting to design a RecordContainer
struct that replaces ContainerWithOnEmptySignal
.
It will provide ID allocation for all three handle types, and allow simplification for face-impl.hpp
, and in particular eliminate PendingInterest::m_deleter
function object in favor of a cheaper virtual function call.
- Status changed from In Progress to Code review
- % Done changed from 60 to 100
https://gerrit.named-data.net/5333 is now complete. RecordId
, a self-incrementing counter, identifies a handle within its container.
Currently const Id*
pointers are still being used between Handle
and Face
. I plan to keep these as is until the removal of const Id*
pointer types in #4885.
- Status changed from Code review to Closed
- Precedes Task #4885: Remove deprecated const Id* of face-related handles added
Also available in: Atom
PDF