NDN content store entry. More...
#include <ndn-content-store.h>
Public Member Functions | |
Entry (Ptr< ContentStore > cs, Ptr< const Data > data) | |
Construct content store entry. More... | |
const Name & | GetName () const |
Get prefix of the stored entry. More... | |
Ptr< const Data > | GetData () const |
Get Data of the stored entry. More... | |
Ptr< ContentStore > | GetContentStore () |
Get pointer to access store, to which this entry is added. | |
NDN content store entry.
Definition at line 57 of file ndn-content-store.h.
ns3::ndn::cs::Entry::Entry | ( | Ptr< ContentStore > | cs, |
Ptr< const Data > | data | ||
) |
Construct content store entry.
header | Parsed Data header |
packet | Original Ndn packet |
The constructor will make a copy of the supplied packet and calls RemoveHeader and RemoveTail on the copy.
Definition at line 63 of file ndn-content-store.cc.
Ptr< const Data > ns3::ndn::cs::Entry::GetData | ( | ) | const |
Get Data of the stored entry.
Definition at line 76 of file ndn-content-store.cc.
const Name & ns3::ndn::cs::Entry::GetName | ( | ) | const |
Get prefix of the stored entry.
Definition at line 70 of file ndn-content-store.cc.