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();
113 return m_inRecords.begin();
116 InRecordCollection::const_iterator
119 return m_inRecords.begin();
125 return m_inRecords.end();
128 InRecordCollection::const_iterator
131 return m_inRecords.end();
138 getInRecord(
const Face& face,
EndpointId endpointId);
144 insertOrUpdateInRecord(Face& face,
EndpointId endpointId,
const Interest& interest);
149 deleteInRecord(
const Face& face,
EndpointId endpointId);
159 const OutRecordCollection&
174 return !m_outRecords.empty();
180 return m_outRecords.begin();
183 OutRecordCollection::const_iterator
186 return m_outRecords.begin();
192 return m_outRecords.end();
195 OutRecordCollection::const_iterator
198 return m_outRecords.end();
205 getOutRecord(
const Face& face,
EndpointId endpointId);
211 insertOrUpdateOutRecord(Face& face,
EndpointId endpointId,
const Interest& interest);
216 deleteOutRecord(
const Face& face,
EndpointId endpointId);
222 deleteInOutRecordsByFace(
const Face& face);
233 bool isSatisfied =
false;
238 time::milliseconds dataFreshnessPeriod = 0_ms;
241 shared_ptr<const Interest> m_interest;
242 InRecordCollection m_inRecords;
243 OutRecordCollection m_outRecords;
253 #endif // NFD_DAEMON_TABLE_PIT_ENTRY_HPP const InRecordCollection & getInRecords() const
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
uint64_t EndpointId
identifies an endpoint on the link
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()
OutRecordCollection::iterator out_end()
const OutRecordCollection & getOutRecords() const
const Name & getName() const
InRecordCollection::iterator in_begin()