Files
NFD/daemon/table/pit-in-record.cpp
T
Junxiao Shi f3c0781d22 fw: refine pipelines, dispatch to strategy
refs #1345 #1255

Change-Id: If1cfc26049f87318103fc09c3b211ebf1eb3ebaa
2014-03-11 22:33:15 -07:00

31 lines
582 B
C++

/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
* Copyright (C) 2014 Named Data Networking Project
* See COPYING for copyright and distribution information.
*/
#include "pit-in-record.hpp"
namespace nfd {
namespace pit {
InRecord::InRecord(shared_ptr<Face> face)
: FaceRecord(face)
{
}
InRecord::InRecord(const InRecord& other)
: FaceRecord(other)
{
}
void
InRecord::update(const Interest& interest)
{
this->FaceRecord::update(interest);
m_interest = const_cast<Interest&>(interest).shared_from_this();
}
} // namespace pit
} // namespace nfd