NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
control-parameters.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26 #ifndef NDN_MGMT_CONTROL_PARAMETERS_HPP
27 #define NDN_MGMT_CONTROL_PARAMETERS_HPP
28 
29 #include "../encoding/block.hpp"
30 
31 namespace ndn {
32 namespace mgmt {
33 
37 {
38 public:
39  virtual void
40  wireDecode(const Block& wire) = 0;
41 
42  virtual Block
43  wireEncode() const = 0;
44 };
45 
46 } // namespace mgmt
47 } // namespace ndn
48 
49 #endif // NDN_MGMT_CONTROL_PARAMETERS_HPP
Copyright (c) 2011-2015 Regents of the University of California.
virtual void wireDecode(const Block &wire)=0
Class representing a wire element of NDN-TLV packet format.
Definition: block.hpp:43
virtual Block wireEncode() const =0
base class for a struct that contains ControlCommand parameters