blob: 3a5e5f400ecb27f3806d620da3ca5b56d69f9bd8 [file] [log] [blame]
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -07001/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
2/*
Ashlesh Gawande08784d42017-09-06 23:40:21 -05003 * Copyright (c) 2012-2017 University of California, Los Angeles
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -07004 *
Alexander Afanasyev8722d872014-07-02 13:00:29 -07005 * This file is part of ChronoSync, synchronization library for distributed realtime
6 * applications for NDN.
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -07007 *
Alexander Afanasyev8722d872014-07-02 13:00:29 -07008 * ChronoSync is free software: you can redistribute it and/or modify it under the terms
9 * of the GNU General Public License as published by the Free Software Foundation, either
10 * version 3 of the License, or (at your option) any later version.
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -070011 *
Alexander Afanasyev8722d872014-07-02 13:00:29 -070012 * ChronoSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
13 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * PURPOSE. See the GNU General Public License for more details.
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -070015 *
Alexander Afanasyev8722d872014-07-02 13:00:29 -070016 * You should have received a copy of the GNU General Public License along with
17 * ChronoSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
Yingdi Yu1c4ba9a2014-08-27 19:05:49 -070018 *
19 * @author Zhenkai Zhu <http://irl.cs.ucla.edu/~zhenkai/>
20 * @author Chaoyi Bian <bcy@pku.edu.cn>
21 * @author Alexander Afanasyev <http://lasr.cs.ucla.edu/afanasyev/index.html>
22 * @author Yingdi Yu <yingdi@cs.ucla.edu>
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -070023 */
24
Yingdi Yu1c4ba9a2014-08-27 19:05:49 -070025#include "interest-container.hpp"
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -070026
Yingdi Yu1c4ba9a2014-08-27 19:05:49 -070027namespace chronosync {
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -070028
Ashlesh Gawande08784d42017-09-06 23:40:21 -050029UnsatisfiedInterest::UnsatisfiedInterest(const Interest& interest,
30 ConstBufferPtr digest,
Yingdi Yu1c4ba9a2014-08-27 19:05:49 -070031 bool isUnknown)
32 : interest(interest)
33 , digest(digest)
34 , isUnknown(isUnknown)
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -070035{
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -070036}
Yingdi Yu1c4ba9a2014-08-27 19:05:49 -070037
38} // namespace chronosync