|
NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
|
API Documentation
|
Go to the documentation of this file.
26 #ifndef NFD_DAEMON_TABLE_PIT_ENTRY_HPP
27 #define NFD_DAEMON_TABLE_PIT_ENTRY_HPP
80 return m_interest->getName();
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;
247 #endif // NFD_DAEMON_TABLE_PIT_ENTRY_HPP
An entry in the name tree.
void deleteOutRecord(const Face &face)
delete the out-record for face if it exists
std::list< OutRecord > OutRecordCollection
An unordered collection of out-records.
OutRecordCollection::iterator getOutRecord(const Face &face)
get the out-record for face
OutRecordCollection::iterator out_end()
bool canMatch(const Interest &interest, size_t nEqualNameComps=0) const
void deleteInRecord(const Face &face)
delete the in-record for face if it exists
InRecordCollection::iterator in_begin()
bool isSatisfied
Indicates whether this PIT entry is satisfied.
Represents an absolute name.
time::milliseconds dataFreshnessPeriod
Data freshness period.
Entry(const Interest &interest)
A handle for a scheduled event.
const InRecordCollection & getInRecords() const
Copyright (c) 2011-2015 Regents of the University of California.
InRecordCollection::const_iterator in_begin() const
bool hasInRecords() const
generalization of a network interface
OutRecordCollection::const_iterator out_begin() const
std::list< InRecord > InRecordCollection
An unordered collection of in-records.
OutRecordCollection::iterator out_begin()
Represents an Interest packet.
const Name & getName() const
const OutRecordCollection & getOutRecords() const
Base class for an entity onto which StrategyInfo items may be placed.
InRecordCollection::iterator getInRecord(const Face &face)
get the in-record for face
OutRecordCollection::const_iterator out_end() const
InRecordCollection::const_iterator in_end() const
OutRecordCollection::iterator insertOrUpdateOutRecord(Face &face, const Interest &interest)
insert or update an out-record
InRecordCollection::iterator insertOrUpdateInRecord(Face &face, const Interest &interest)
insert or update an in-record
InRecordCollection::iterator in_end()
void clearInRecords()
delete all in-records
const Interest & getInterest() const
bool hasOutRecords() const
scheduler::EventId expiryTimer
Expiry timer.