Alexander Afanasyev | c169a81 | 2014-05-20 20:37:29 -0400 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 2 | /** |
Alexander Afanasyev | c169a81 | 2014-05-20 20:37:29 -0400 | [diff] [blame] | 3 | * Copyright (c) 2013-2014 Regents of the University of California. |
Alexander Afanasyev | dfa52c4 | 2014-04-24 21:10:11 -0700 | [diff] [blame] | 4 | * |
| 5 | * This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions). |
Alexander Afanasyev | dfa52c4 | 2014-04-24 21:10:11 -0700 | [diff] [blame] | 6 | * |
Alexander Afanasyev | c169a81 | 2014-05-20 20:37:29 -0400 | [diff] [blame] | 7 | * ndn-cxx library is free software: you can redistribute it and/or modify it under the |
| 8 | * terms of the GNU Lesser General Public License as published by the Free Software |
| 9 | * Foundation, either version 3 of the License, or (at your option) any later version. |
| 10 | * |
| 11 | * ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY |
| 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |
| 14 | * |
| 15 | * You should have received copies of the GNU General Public License and GNU Lesser |
| 16 | * General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see |
| 17 | * <http://www.gnu.org/licenses/>. |
| 18 | * |
| 19 | * See AUTHORS.md for complete list of ndn-cxx authors and contributors. |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 20 | */ |
| 21 | |
| 22 | #ifndef NDN_MANAGEMENT_NFD_CONTROL_COMMAND_HPP |
| 23 | #define NDN_MANAGEMENT_NFD_CONTROL_COMMAND_HPP |
| 24 | |
| 25 | #include "nfd-control-parameters.hpp" |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 26 | |
| 27 | namespace ndn { |
| 28 | namespace nfd { |
| 29 | |
Alexander Afanasyev | 4671bf7 | 2014-05-19 09:01:37 -0400 | [diff] [blame] | 30 | /** |
| 31 | * \ingroup management |
| 32 | * \brief base class of NFD ControlCommand |
| 33 | * \sa http://redmine.named-data.net/projects/nfd/wiki/ControlCommand |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 34 | */ |
Junxiao Shi | 7b6b79d | 2014-03-26 20:59:35 -0700 | [diff] [blame] | 35 | class ControlCommand : noncopyable |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 36 | { |
| 37 | public: |
| 38 | /** \brief represents an error in ControlParameters |
| 39 | */ |
| 40 | class ArgumentError : public std::invalid_argument |
| 41 | { |
| 42 | public: |
| 43 | explicit |
| 44 | ArgumentError(const std::string& what) |
| 45 | : std::invalid_argument(what) |
| 46 | { |
| 47 | } |
| 48 | }; |
| 49 | |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 50 | /** \brief validate request parameters |
Junxiao Shi | 5de006b | 2014-10-26 20:20:52 -0700 | [diff] [blame^] | 51 | * \throw ArgumentError if parameters are invalid |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 52 | */ |
| 53 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 54 | validateRequest(const ControlParameters& parameters) const; |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 55 | |
| 56 | /** \brief apply default values to missing fields in request |
| 57 | */ |
| 58 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 59 | applyDefaultsToRequest(ControlParameters& parameters) const; |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 60 | |
| 61 | /** \brief validate response parameters |
Junxiao Shi | 5de006b | 2014-10-26 20:20:52 -0700 | [diff] [blame^] | 62 | * \throw ArgumentError if parameters are invalid |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 63 | */ |
| 64 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 65 | validateResponse(const ControlParameters& parameters) const; |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 66 | |
| 67 | /** \brief apply default values to missing fields in response |
| 68 | */ |
| 69 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 70 | applyDefaultsToResponse(ControlParameters& parameters) const; |
| 71 | |
| 72 | /** \brief construct the Name for a request Interest |
Junxiao Shi | 5de006b | 2014-10-26 20:20:52 -0700 | [diff] [blame^] | 73 | * \throw ArgumentError if parameters are invalid |
| 74 | */ |
| 75 | Name |
| 76 | getRequestName(const Name& commandPrefix, const ControlParameters& parameters) const; |
| 77 | |
| 78 | public: // deprecated |
| 79 | /** \return Name prefix of this ControlCommand |
| 80 | * \deprecated use getRequestName |
| 81 | */ |
| 82 | const Name& |
| 83 | getPrefix() const; |
| 84 | |
| 85 | /** \brief construct the Name for a request Interest |
| 86 | * \throw ArgumentError if parameters are invalid |
| 87 | * \deprecated use the two-argument overload |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 88 | */ |
| 89 | Name |
| 90 | getRequestName(const ControlParameters& parameters) const; |
| 91 | |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 92 | protected: |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 93 | ControlCommand(const std::string& module, const std::string& verb); |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 94 | |
| 95 | class FieldValidator |
| 96 | { |
| 97 | public: |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 98 | FieldValidator(); |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 99 | |
| 100 | /** \brief declare a required field |
| 101 | */ |
| 102 | FieldValidator& |
| 103 | required(ControlParameterField field) |
| 104 | { |
| 105 | m_required[field] = true; |
| 106 | return *this; |
| 107 | } |
| 108 | |
| 109 | /** \brief declare an optional field |
| 110 | */ |
| 111 | FieldValidator& |
| 112 | optional(ControlParameterField field) |
| 113 | { |
| 114 | m_optional[field] = true; |
| 115 | return *this; |
| 116 | } |
| 117 | |
| 118 | /** \brief verify that all required fields are present, |
| 119 | * and all present fields are either required or optional |
| 120 | * \throw ArgumentError |
| 121 | */ |
| 122 | void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 123 | validate(const ControlParameters& parameters) const; |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 124 | |
| 125 | private: |
| 126 | std::vector<bool> m_required; |
| 127 | std::vector<bool> m_optional; |
| 128 | }; |
| 129 | |
| 130 | protected: |
| 131 | /** \brief FieldValidator for request ControlParameters |
| 132 | * |
| 133 | * Constructor of subclass should populate this validator. |
| 134 | */ |
| 135 | FieldValidator m_requestValidator; |
| 136 | /** \brief FieldValidator for response ControlParameters |
| 137 | * |
| 138 | * Constructor of subclass should populate this validator. |
| 139 | */ |
| 140 | FieldValidator m_responseValidator; |
| 141 | |
| 142 | private: |
Junxiao Shi | 5de006b | 2014-10-26 20:20:52 -0700 | [diff] [blame^] | 143 | name::Component m_module; |
| 144 | name::Component m_verb; |
| 145 | |
| 146 | /** \deprecated kept to support getPrefix |
| 147 | */ |
| 148 | mutable Name m_prefix; |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 149 | }; |
| 150 | |
| 151 | |
Alexander Afanasyev | 4671bf7 | 2014-05-19 09:01:37 -0400 | [diff] [blame] | 152 | /** |
| 153 | * \ingroup management |
| 154 | * \brief represents a faces/create command |
| 155 | * \sa http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Create-a-face |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 156 | */ |
| 157 | class FaceCreateCommand : public ControlCommand |
| 158 | { |
| 159 | public: |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 160 | FaceCreateCommand(); |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 161 | |
| 162 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 163 | validateResponse(const ControlParameters& parameters) const; |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 164 | }; |
| 165 | |
| 166 | |
Alexander Afanasyev | 4671bf7 | 2014-05-19 09:01:37 -0400 | [diff] [blame] | 167 | /** |
| 168 | * \ingroup management |
| 169 | * \brief represents a faces/destroy command |
| 170 | * \sa http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Destroy-a-face |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 171 | */ |
| 172 | class FaceDestroyCommand : public ControlCommand |
| 173 | { |
| 174 | public: |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 175 | FaceDestroyCommand(); |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 176 | |
| 177 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 178 | validateRequest(const ControlParameters& parameters) const; |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 179 | |
| 180 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 181 | validateResponse(const ControlParameters& parameters) const; |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 182 | }; |
| 183 | |
Alexander Afanasyev | 4671bf7 | 2014-05-19 09:01:37 -0400 | [diff] [blame] | 184 | /** |
| 185 | * \ingroup management |
| 186 | * \brief Base class for faces/[*]-local-control commands |
| 187 | */ |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 188 | class FaceLocalControlCommand : public ControlCommand |
| 189 | { |
Junxiao Shi | 6888bc1 | 2014-03-29 23:01:41 -0700 | [diff] [blame] | 190 | public: |
| 191 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 192 | validateRequest(const ControlParameters& parameters) const; |
Junxiao Shi | 6888bc1 | 2014-03-29 23:01:41 -0700 | [diff] [blame] | 193 | |
| 194 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 195 | validateResponse(const ControlParameters& parameters) const; |
Junxiao Shi | 6888bc1 | 2014-03-29 23:01:41 -0700 | [diff] [blame] | 196 | |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 197 | protected: |
| 198 | explicit |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 199 | FaceLocalControlCommand(const std::string& verb); |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 200 | }; |
| 201 | |
| 202 | |
Alexander Afanasyev | 4671bf7 | 2014-05-19 09:01:37 -0400 | [diff] [blame] | 203 | /** |
| 204 | * \ingroup management |
| 205 | * \brief represents a faces/enable-local-control command |
| 206 | * \sa http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Enable-a-LocalControlHeader-feature |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 207 | */ |
| 208 | class FaceEnableLocalControlCommand : public FaceLocalControlCommand |
| 209 | { |
| 210 | public: |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 211 | FaceEnableLocalControlCommand(); |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 212 | }; |
| 213 | |
| 214 | |
Alexander Afanasyev | 4671bf7 | 2014-05-19 09:01:37 -0400 | [diff] [blame] | 215 | /** |
| 216 | * \ingroup management |
| 217 | * \brief represents a faces/disable-local-control command |
| 218 | * \sa http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Disable-a-LocalControlHeader-feature |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 219 | */ |
| 220 | class FaceDisableLocalControlCommand : public FaceLocalControlCommand |
| 221 | { |
| 222 | public: |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 223 | FaceDisableLocalControlCommand(); |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 224 | }; |
| 225 | |
| 226 | |
Alexander Afanasyev | 4671bf7 | 2014-05-19 09:01:37 -0400 | [diff] [blame] | 227 | /** |
| 228 | * \ingroup management |
| 229 | * \brief represents a fib/add-nexthop command |
| 230 | * \sa http://redmine.named-data.net/projects/nfd/wiki/FibMgmt#Add-a-nexthop |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 231 | */ |
| 232 | class FibAddNextHopCommand : public ControlCommand |
| 233 | { |
| 234 | public: |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 235 | FibAddNextHopCommand(); |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 236 | |
| 237 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 238 | applyDefaultsToRequest(ControlParameters& parameters) const; |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 239 | |
| 240 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 241 | validateResponse(const ControlParameters& parameters) const; |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 242 | }; |
| 243 | |
| 244 | |
Alexander Afanasyev | 4671bf7 | 2014-05-19 09:01:37 -0400 | [diff] [blame] | 245 | /** |
| 246 | * \ingroup management |
| 247 | * \brief represents a fib/remove-nexthop command |
| 248 | * \sa http://redmine.named-data.net/projects/nfd/wiki/FibMgmt#Remove-a-nexthop |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 249 | */ |
| 250 | class FibRemoveNextHopCommand : public ControlCommand |
| 251 | { |
| 252 | public: |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 253 | FibRemoveNextHopCommand(); |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 254 | |
| 255 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 256 | applyDefaultsToRequest(ControlParameters& parameters) const; |
Junxiao Shi | caac54e | 2014-05-20 15:27:01 -0700 | [diff] [blame] | 257 | |
| 258 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 259 | validateResponse(const ControlParameters& parameters) const; |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 260 | }; |
| 261 | |
| 262 | |
Alexander Afanasyev | 4671bf7 | 2014-05-19 09:01:37 -0400 | [diff] [blame] | 263 | /** |
| 264 | * \ingroup management |
| 265 | * \brief represents a strategy-choice/set command |
| 266 | * \sa http://redmine.named-data.net/projects/nfd/wiki/StrategyChoice#Set-the-strategy-for-a-namespace |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 267 | */ |
| 268 | class StrategyChoiceSetCommand : public ControlCommand |
| 269 | { |
| 270 | public: |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 271 | StrategyChoiceSetCommand(); |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 272 | }; |
| 273 | |
| 274 | |
Alexander Afanasyev | 4671bf7 | 2014-05-19 09:01:37 -0400 | [diff] [blame] | 275 | /** |
| 276 | * \ingroup management |
| 277 | * \brief represents a strategy-choice/set command |
| 278 | * \sa http://redmine.named-data.net/projects/nfd/wiki/StrategyChoice#Unset-the-strategy-for-a-namespace |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 279 | */ |
| 280 | class StrategyChoiceUnsetCommand : public ControlCommand |
| 281 | { |
| 282 | public: |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 283 | StrategyChoiceUnsetCommand(); |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 284 | |
| 285 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 286 | validateRequest(const ControlParameters& parameters) const; |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 287 | |
| 288 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 289 | validateResponse(const ControlParameters& parameters) const; |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 290 | }; |
| 291 | |
Junxiao Shi | 5f6c74f | 2014-04-18 16:29:44 -0700 | [diff] [blame] | 292 | |
Alexander Afanasyev | 4671bf7 | 2014-05-19 09:01:37 -0400 | [diff] [blame] | 293 | /** |
| 294 | * \ingroup management |
Alexander Afanasyev | 4671bf7 | 2014-05-19 09:01:37 -0400 | [diff] [blame] | 295 | * \brief represents a rib/register command |
| 296 | * \sa http://redmine.named-data.net/projects/nfd/wiki/RibMgmt#Register-a-route |
Junxiao Shi | 5f6c74f | 2014-04-18 16:29:44 -0700 | [diff] [blame] | 297 | */ |
| 298 | class RibRegisterCommand : public ControlCommand |
| 299 | { |
| 300 | public: |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 301 | RibRegisterCommand(); |
Junxiao Shi | 5f6c74f | 2014-04-18 16:29:44 -0700 | [diff] [blame] | 302 | |
| 303 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 304 | applyDefaultsToRequest(ControlParameters& parameters) const; |
Junxiao Shi | 5f6c74f | 2014-04-18 16:29:44 -0700 | [diff] [blame] | 305 | |
| 306 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 307 | validateResponse(const ControlParameters& parameters) const; |
Junxiao Shi | 5f6c74f | 2014-04-18 16:29:44 -0700 | [diff] [blame] | 308 | }; |
| 309 | |
| 310 | |
Alexander Afanasyev | 4671bf7 | 2014-05-19 09:01:37 -0400 | [diff] [blame] | 311 | /** |
| 312 | * \ingroup management |
| 313 | * \brief represents a rib/unregister command |
| 314 | * \sa http://redmine.named-data.net/projects/nfd/wiki/RibMgmt#Unregister-a-route |
Junxiao Shi | 5f6c74f | 2014-04-18 16:29:44 -0700 | [diff] [blame] | 315 | */ |
| 316 | class RibUnregisterCommand : public ControlCommand |
| 317 | { |
| 318 | public: |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 319 | RibUnregisterCommand(); |
Junxiao Shi | 5f6c74f | 2014-04-18 16:29:44 -0700 | [diff] [blame] | 320 | |
| 321 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 322 | applyDefaultsToRequest(ControlParameters& parameters) const; |
Junxiao Shi | 5f6c74f | 2014-04-18 16:29:44 -0700 | [diff] [blame] | 323 | |
| 324 | virtual void |
Junxiao Shi | 7091165 | 2014-08-12 10:14:24 -0700 | [diff] [blame] | 325 | validateResponse(const ControlParameters& parameters) const; |
Junxiao Shi | 5f6c74f | 2014-04-18 16:29:44 -0700 | [diff] [blame] | 326 | }; |
| 327 | |
| 328 | |
Junxiao Shi | 5ec8022 | 2014-03-25 20:08:05 -0700 | [diff] [blame] | 329 | } // namespace nfd |
| 330 | } // namespace ndn |
| 331 | |
| 332 | #endif // NDN_MANAGEMENT_NFD_CONTROL_COMMAND_HPP |