26 #ifndef NFD_DAEMON_TABLE_PIT_ENTRY_HPP
27 #define NFD_DAEMON_TABLE_PIT_ENTRY_HPP
62 Entry(
const Interest& interest);
80 return m_interest->getName();
88 canMatch(
const Interest& interest,
size_t nEqualNameComps = 0)
const;
107 return !m_inRecords.empty();
110 InRecordCollection::iterator
113 return m_inRecords.begin();
116 InRecordCollection::const_iterator
119 return m_inRecords.begin();
122 InRecordCollection::iterator
125 return m_inRecords.end();
128 InRecordCollection::const_iterator
131 return m_inRecords.end();
137 InRecordCollection::iterator
143 InRecordCollection::iterator
174 return !m_outRecords.empty();
177 OutRecordCollection::iterator
180 return m_outRecords.begin();
183 OutRecordCollection::const_iterator
186 return m_outRecords.begin();
189 OutRecordCollection::iterator
192 return m_outRecords.end();
195 OutRecordCollection::const_iterator
198 return m_outRecords.end();
204 OutRecordCollection::iterator
210 OutRecordCollection::iterator
235 shared_ptr<const Interest> m_interest;
Base class for an entity onto which StrategyInfo items may be placed.
generalization of a network interface
An entry in the name tree.
time::milliseconds dataFreshnessPeriod
Data freshness period.
bool canMatch(const Interest &interest, size_t nEqualNameComps=0) const
InRecordCollection::iterator in_begin()
const Interest & getInterest() const
scheduler::EventId expiryTimer
Expiry timer.
InRecordCollection::const_iterator in_begin() const
InRecordCollection::iterator in_end()
OutRecordCollection::iterator out_end()
OutRecordCollection::const_iterator out_end() const
InRecordCollection::iterator getInRecord(const Face &face)
get the in-record for face
const InRecordCollection & getInRecords() const
OutRecordCollection::iterator out_begin()
bool hasOutRecords() const
void deleteInRecord(const Face &face)
delete the in-record for face if it exists
Entry(const Interest &interest)
const Name & getName() const
InRecordCollection::const_iterator in_end() const
bool isSatisfied
Indicates whether this PIT entry is satisfied.
OutRecordCollection::iterator insertOrUpdateOutRecord(Face &face, const Interest &interest)
insert or update an out-record
bool hasInRecords() const
void clearInRecords()
delete all in-records
InRecordCollection::iterator insertOrUpdateInRecord(Face &face, const Interest &interest)
insert or update an in-record
OutRecordCollection::const_iterator out_begin() const
const OutRecordCollection & getOutRecords() const
OutRecordCollection::iterator getOutRecord(const Face &face)
get the out-record for face
void deleteOutRecord(const Face &face)
delete the out-record for face if it exists
std::list< InRecord > InRecordCollection
An unordered collection of in-records.
std::list< OutRecord > OutRecordCollection
An unordered collection of out-records.
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents,...