Project

General

Profile

Actions

Feature #3919

closed

Scoped prefix registration

Added by Alex Afanasyev over 7 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Base
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
3.00 h

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.


Related issues 3 (0 open3 closed)

Related to ndn-cxx - Feature #4316: Scoped expressed InterestClosedJunxiao Shi

Actions
Blocked by ndn-cxx - Task #4782: Install implementation detail headersClosedJunxiao Shi12/06/2018

Actions
Precedes ndn-cxx - Task #4885: Remove deprecated const Id* of face-related handlesClosedDavide Pesavento

Actions
Actions #1

Updated by Junxiao Shi over 6 years ago

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

Actions #2

Updated by Junxiao Shi over 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Junxiao Shi
  • Target version set to v0.7
Actions #3

Updated by Junxiao Shi over 5 years ago

  • % Done changed from 0 to 50

https://gerrit.named-data.net/#/c/ndn-cxx/+/4876 ScopedRegisteredPrefixHandle.

ScopedInterestFilterHandle will come in another commit.

Actions #4

Updated by Junxiao Shi over 5 years ago

  • Blocked by Task #4782: Install implementation detail headers added
Actions #5

Updated by Junxiao Shi over 5 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100
Actions #6

Updated by Junxiao Shi about 5 years ago

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

Actions #7

Updated by Junxiao Shi about 5 years ago

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

Actions #8

Updated by Junxiao Shi about 5 years ago

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

Actions #9

Updated by Junxiao Shi almost 5 years ago

  • Status changed from Code review to Closed
Actions #10

Updated by Davide Pesavento almost 5 years ago

  • Precedes Task #4885: Remove deprecated const Id* of face-related handles added
Actions #11

Updated by Davide Pesavento almost 5 years ago

Actions

Also available in: Atom PDF