26 #ifndef NFD_DAEMON_TABLE_PIT_ENTRY_HPP 27 #define NFD_DAEMON_TABLE_PIT_ENTRY_HPP 63 Entry(
const Interest& interest);
81 return m_interest->getName();
89 canMatch(
const Interest& interest,
size_t nEqualNameComps = 0)
const;
94 const InRecordCollection&
108 return !m_inRecords.empty();
114 return m_inRecords.begin();
117 InRecordCollection::const_iterator
120 return m_inRecords.begin();
126 return m_inRecords.end();
129 InRecordCollection::const_iterator
132 return m_inRecords.end();
139 getInRecord(
const Face& face);
145 insertOrUpdateInRecord(Face& face,
const Interest& interest);
150 deleteInRecord(
const Face& face);
160 const OutRecordCollection&
175 return !m_outRecords.empty();
181 return m_outRecords.begin();
184 OutRecordCollection::const_iterator
187 return m_outRecords.begin();
193 return m_outRecords.end();
196 OutRecordCollection::const_iterator
199 return m_outRecords.end();
206 getOutRecord(
const Face& face);
212 insertOrUpdateOutRecord(Face& face,
const Interest& interest);
217 deleteOutRecord(
const Face& face);
236 shared_ptr<const Interest> m_interest;
237 InRecordCollection m_inRecords;
238 OutRecordCollection m_outRecords;
248 #endif // NFD_DAEMON_TABLE_PIT_ENTRY_HPP const InRecordCollection & getInRecords() const
bool isSatisfied
indicate if PIT entry is satisfied
bool hasInRecords() const
OutRecordCollection::const_iterator out_begin() const
base class for an entity onto which StrategyInfo items may be placed
bool hasOutRecords() const
OutRecordCollection::const_iterator out_end() const
InRecordCollection::const_iterator in_begin() const
std::list< InRecord > InRecordCollection
an unordered collection of in-records
Table::const_iterator iterator
scheduler::EventId expiryTimer
expiry timer
InRecordCollection::const_iterator in_end() const
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
InRecordCollection::iterator in_end()
const Interest & getInterest() const
an entry in the name tree
std::list< OutRecord > OutRecordCollection
an unordered collection of out-records
OutRecordCollection::iterator out_begin()
time::milliseconds dataFreshnessPeriod
Data freshness period.
OutRecordCollection::iterator out_end()
const OutRecordCollection & getOutRecords() const
const Name & getName() const
InRecordCollection::iterator in_begin()