Project

General

Profile

Actions

Task #3546

closed

PIT entry: move away forwarding semantics

Added by Junxiao Shi about 8 years ago. Updated about 8 years ago.

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

100%

Estimated time:
9.00 h

Description

Currently pit::Entry class has many methods that are unrelated to table structure, but reflect forwarding semantics used by pipelines or strategies.
The semantics of these methods are problematic, and are not general enough for all forwarding strategies.

They should be moved away from pit::Entry, and placed into forwarding.

The pit::Entry class shall only contain methods that operate on the table structure, include but are not limited to:

  • access to the representative Interest
  • insert/delete/get/enumerate in-records
  • insert/delete/get/enumerate out-records

Other methods should be moved away, and turned into helper functions in forwarding.


Related issues 1 (0 open1 closed)

Related to NFD - Task #3164: Reduce usage of shared_ptr in FIB/PIT/StrategyChoice/MeasurementsClosedJunxiao Shi

Actions
Actions

Also available in: Atom PDF