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;
93 const InRecordCollection&
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
138 getInRecord(
const Face& face);
143 InRecordCollection::iterator
144 insertOrUpdateInRecord(
Face& face,
const Interest& interest);
149 deleteInRecord(
const Face& face);
159 const OutRecordCollection&
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
205 getOutRecord(
const Face& face);
210 OutRecordCollection::iterator
211 insertOrUpdateOutRecord(
Face& face,
const Interest& interest);
216 deleteOutRecord(
const Face& face);
227 bool isSatisfied =
false;
232 time::milliseconds dataFreshnessPeriod = 0_ms;
235 shared_ptr<const Interest> m_interest;
236 InRecordCollection m_inRecords;
237 OutRecordCollection m_outRecords;
247 #endif // NFD_DAEMON_TABLE_PIT_ENTRY_HPP Base class for an entity onto which StrategyInfo items may be placed.
bool hasOutRecords() const
InRecordCollection::const_iterator in_end() const
std::list< InRecord > InRecordCollection
An unordered collection of in-records.
scheduler::EventId expiryTimer
Expiry timer.
OutRecordCollection::const_iterator out_end() const
const Interest & getInterest() const
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
const Name & getName() const
generalization of a network interface
InRecordCollection::iterator in_end()
const InRecordCollection & getInRecords() const
An entry in the name tree.
const OutRecordCollection & getOutRecords() const
std::list< OutRecord > OutRecordCollection
An unordered collection of out-records.
OutRecordCollection::iterator out_begin()
OutRecordCollection::const_iterator out_begin() const
InRecordCollection::const_iterator in_begin() const
OutRecordCollection::iterator out_end()
bool hasInRecords() const
InRecordCollection::iterator in_begin()