NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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; -*- */
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 void
36  wireDecode(const Block& wire) = 0;
37 
38  virtual Block
39  wireEncode() const = 0;
40 };
41 
42 } // namespace mgmt
43 } // namespace ndn
44 
45 #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
base class for a struct that contains ControlCommand parameters
virtual Block wireEncode() const =0