26 #ifndef NFD_DAEMON_TABLE_PIT_ENTRY_HPP 27 #define NFD_DAEMON_TABLE_PIT_ENTRY_HPP 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;
235 shared_ptr<const Interest> m_interest;
236 InRecordCollection m_inRecords;
237 OutRecordCollection m_outRecords;
247 #endif // NFD_DAEMON_TABLE_PIT_ENTRY_HPP const InRecordCollection & getInRecords() const
bool hasInRecords() const
InRecordCollection::const_iterator in_begin() const
OutRecordCollection::iterator out_end()
Base class for an entity onto which StrategyInfo items may be placed.
Represents an Interest packet.
OutRecordCollection::iterator out_begin()
A handle for a scheduled event.
std::list< InRecord > InRecordCollection
An unordered collection of in-records.
OutRecordCollection::const_iterator out_end() const
bool hasOutRecords() const
InRecordCollection::iterator in_end()
Copyright (c) 2011-2015 Regents of the University of California.
Represents an absolute name.
const Interest & getInterest() const
std::list< OutRecord > OutRecordCollection
An unordered collection of out-records.
InRecordCollection::iterator in_begin()
const Name & getName() const
OutRecordCollection::const_iterator out_begin() const
InRecordCollection::const_iterator in_end() const
const OutRecordCollection & getOutRecords() const
An entry in the name tree.
scheduler::EventId expiryTimer
Expiry timer.
boost::chrono::milliseconds milliseconds