pit-in-record.cpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26 #include "pit-in-record.hpp"
27 
28 namespace nfd {
29 namespace pit {
30 
31 InRecord::InRecord(Face& face)
32  : FaceRecord(face)
33 {
34 }
35 
36 void
37 InRecord::update(const Interest& interest)
38 {
39  this->FaceRecord::update(interest);
40  m_interest = const_cast<Interest&>(interest).shared_from_this();
41 }
42 
43 } // namespace pit
44 } // namespace nfd
void update(const Interest &interest)
updates lastNonce, lastRenewed, expiry fields
InRecord(Face &face)
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Definition: algorithm.hpp:32
contains information about an Interest on an incoming or outgoing face
void update(const Interest &interest)