26 #ifndef NFD_DAEMON_TABLE_PIT_ENTRY_HPP
27 #define NFD_DAEMON_TABLE_PIT_ENTRY_HPP
71 Entry(
const Interest& interest);
126 InRecordCollection::iterator
132 InRecordCollection::const_iterator
148 OutRecordCollection::iterator
154 OutRecordCollection::const_iterator
171 shared_ptr<const Interest> m_interest;
175 static const Name LOCALHOST_NAME;
176 static const Name LOCALHOP_NAME;
178 shared_ptr<name_tree::Entry> m_nameTreeEntry;
184 inline const Interest&
205 #endif // NFD_DAEMON_TABLE_PIT_ENTRY_HPP
std::list< InRecord > InRecordCollection
represents an unordered collection of InRecords
InRecordCollection::const_iterator getInRecord(const Face &face) const
get the InRecord for face
OutRecordCollection::const_iterator getOutRecord(const Face &face) const
get the OutRecord for face
bool canForwardTo(const Face &face) const
decides whether Interest can be forwarded to face
base class for an entity onto which StrategyInfo objects may be placed
int findNonce(uint32_t nonce, const Face &face) const
finds where a duplicate Nonce appears
InRecordCollection::iterator insertOrUpdateInRecord(shared_ptr< Face > face, const Interest &interest)
inserts a InRecord for face, and updates it with interest
bool hasLocalInRecord() const
determines whether any InRecord is a local Face
std::shared_ptr< ns3::EventId > EventId
bool violatesScope(const Face &face) const
decides whether forwarding Interest to face would violate scope
const Interest & getInterest() const
const InRecordCollection & getInRecords() const
const Name & getName() const
void deleteOutRecord(const Face &face)
deletes one OutRecord for face if exists
Entry(const Interest &interest)
const OutRecordCollection & getOutRecords() const
std::list< OutRecord > OutRecordCollection
represents an unordered collection of OutRecords
void deleteInRecords()
deletes all InRecords
OutRecordCollection::iterator insertOrUpdateOutRecord(shared_ptr< Face > face, const Interest &interest)
inserts a OutRecord for face, and updates it with interest
DuplicateNonceWhere
indicates where duplicate Nonces are found
bool hasUnexpiredOutRecords() const