#include <lsa-segment-storage.hpp>
Public Member Functions | |
LsaSegmentStorage (ndn::Scheduler &scheduler, const ndn::time::seconds lsaDeletionTimepoint) | |
void | connectToFetcher (ndn::util::SegmentFetcher &fetcher) |
Get connected to the signal emitted by SegmentFetcher. More... | |
const ndn::Data * | getLsaSegment (const ndn::Interest &interest) |
Returns an LSA segment for an interest from LsaSegmentStorage. More... | |
Definition at line 36 of file lsa-segment-storage.hpp.
nlsr::LsaSegmentStorage::LsaSegmentStorage | ( | ndn::Scheduler & | scheduler, |
const ndn::time::seconds | lsaDeletionTimepoint | ||
) |
Definition at line 31 of file lsa-segment-storage.cpp.
void nlsr::LsaSegmentStorage::connectToFetcher | ( | ndn::util::SegmentFetcher & | fetcher | ) |
Get connected to the signal emitted by SegmentFetcher.
fetcher | The SegmentFetcher to whose signal LsaSegmentStorage will subscribe to. |
Definition at line 39 of file lsa-segment-storage.cpp.
const ndn::Data * nlsr::LsaSegmentStorage::getLsaSegment | ( | const ndn::Interest & | interest | ) |
Returns an LSA segment for an interest from LsaSegmentStorage.
interest | Interest corresponding to the returned LSA segment. |
Definition at line 46 of file lsa-segment-storage.cpp.