blob: 09a914bf4bc69abc94c5dcf28c6ef426897bcdd8 [file] [log] [blame]
Andrea Tosatto672b9a72016-01-05 16:18:20 +01001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/**
3 * Copyright (c) 2016, Regents of the University of California,
4 * Colorado State University,
5 * University Pierre & Marie Curie, Sorbonne University.
6 *
7 * This file is part of ndn-tools (Named Data Networking Essential Tools).
8 * See AUTHORS.md for complete list of ndn-tools authors and contributors.
9 *
10 * ndn-tools is free software: you can redistribute it and/or modify it under the terms
11 * of the GNU General Public License as published by the Free Software Foundation,
12 * either version 3 of the License, or (at your option) any later version.
13 *
14 * ndn-tools is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
15 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 * PURPOSE. See the GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License along with
19 * ndn-tools, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
20 *
21 * See AUTHORS.md for complete list of ndn-cxx authors and contributors.
22 *
23 * @author Andrea Tosatto
24 * @author Davide Pesavento
25 */
26
27#ifndef NDN_TOOLS_CHUNKS_CATCHUNKS_OPTIONS_HPP
28#define NDN_TOOLS_CHUNKS_CATCHUNKS_OPTIONS_HPP
29
30#include <ndn-cxx/util/time.hpp>
31
32namespace ndn {
33namespace chunks {
34
35class Options
36{
37public:
38 Options();
39
40public:
41 time::milliseconds interestLifetime;
42 int maxRetriesOnTimeoutOrNack;
43 bool mustBeFresh;
44 bool isVerbose;
45};
46
47} // namespace chunks
48} // namespace ndn
49
50#endif // NDN_TOOLS_CHUNKS_CATCHUNKS_OPTIONS_HPP