Actions
Task #1144
closedmock implementation of CS
Start date:
01/25/2014
Due date:
01/26/2014
% Done:
0%
Estimated time:
5.00 h
Description
Implement a subset of CS table interface.
Cs class contains: insert, find
cs::Entry should be complete
cs::Policy is not required
This ContentStore stores every Data passed to Cs::insert
.
It has a fixed size limit (defined as a constant in the code), and uses FIFO replacement policy.
The matching algorithm only matches on Name, MinSuffixComponents, MaxSuffixComponents, Exclude.
These matching criteria is already implemented by NDN-CPP-dev ndn::Interest::matchesName
.
Implicit digest component is not computed or considered in matching.
There is no performance requirement on this mock implementation.
Actions