control-parameters.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22 #ifndef NDN_MGMT_CONTROL_PARAMETERS_HPP
23 #define NDN_MGMT_CONTROL_PARAMETERS_HPP
24 
25 #include "../encoding/block.hpp"
26 
27 namespace ndn {
28 namespace mgmt {
29 
33 {
34 public:
35  virtual
36  ~ControlParameters() = default;
37 
38  virtual void
39  wireDecode(const Block& wire) = 0;
40 
41  virtual Block
42  wireEncode() const = 0;
43 };
44 
45 } // namespace mgmt
46 } // namespace ndn
47 
48 #endif // NDN_MGMT_CONTROL_PARAMETERS_HPP
Copyright (c) 2013-2017 Regents of the University of California.
Definition: common.hpp:66
virtual void wireDecode(const Block &wire)=0
Represents a TLV element of NDN packet format.
Definition: block.hpp:42
virtual ~ControlParameters()=default
base class for a struct that contains ControlCommand parameters
virtual Block wireEncode() const =0