NDN content store entry. More...
#include <ndn-content-store.hpp>
Public Member Functions | |
Entry (Ptr< ContentStore > cs, shared_ptr< const Data > data) | |
Construct content store entry. More... | |
const Name & | GetName () const |
Get prefix of the stored entry. More... | |
shared_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. More... | |
NDN content store entry.
Definition at line 54 of file ndn-content-store.hpp.
ns3::ndn::cs::Entry::Entry | ( | Ptr< ContentStore > | cs, |
shared_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 57 of file ndn-content-store.cpp.
Ptr< ContentStore > ns3::ndn::cs::Entry::GetContentStore | ( | ) |
Get pointer to access store, to which this entry is added.
Definition at line 76 of file ndn-content-store.cpp.
shared_ptr< const Data > ns3::ndn::cs::Entry::GetData | ( | ) | const |
Get Data of the stored entry.
Definition at line 70 of file ndn-content-store.cpp.
const Name & ns3::ndn::cs::Entry::GetName | ( | ) | const |
Get prefix of the stored entry.
Definition at line 64 of file ndn-content-store.cpp.