NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
strategy-choice-publisher.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_MGMT_STRATEGY_CHOICE_PUBLISHER_HPP
27
#define NFD_DAEMON_MGMT_STRATEGY_CHOICE_PUBLISHER_HPP
28
29
#include "
core/segment-publisher.hpp
"
30
#include "
mgmt/app-face.hpp
"
31
32
namespace
nfd {
33
34
class
StrategyChoice
;
35
36
class
StrategyChoicePublisher
:
public
SegmentPublisher
<AppFace>
37
{
38
public
:
39
StrategyChoicePublisher
(
const
StrategyChoice
& strategyChoice,
40
AppFace
& face,
41
const
Name
& prefix,
42
ndn::KeyChain& keyChain);
43
44
virtual
45
~StrategyChoicePublisher
();
46
47
protected
:
48
49
virtual
size_t
50
generate
(ndn::EncodingBuffer& outBuffer);
51
52
private
:
53
54
const
StrategyChoice
& m_strategyChoice;
55
56
};
57
58
}
// namespace nfd
59
60
#endif // NFD_DAEMON_MGMT_STRATEGY_CHOICE_PUBLISHER_HPP
nfd::SegmentPublisher
provides a publisher of Status Dataset or other segmented octet stream
Definition:
segment-publisher.hpp:40
nfd::AppFace
Definition:
app-face.hpp:37
nfd::StrategyChoice
represents the Strategy Choice table
Definition:
strategy-choice.hpp:45
segment-publisher.hpp
app-face.hpp
nfd::StrategyChoicePublisher::generate
virtual size_t generate(ndn::EncodingBuffer &outBuffer)
In a derived class, write the octets into outBuffer.
Definition:
strategy-choice-publisher.cpp:53
nfd::StrategyChoice
StrategyChoice
Definition:
strategy-choice.cpp:37
nfd::StrategyChoicePublisher::StrategyChoicePublisher
StrategyChoicePublisher(const StrategyChoice &strategyChoice, AppFace &face, const Name &prefix, ndn::KeyChain &keyChain)
Definition:
strategy-choice-publisher.cpp:37
ns3::ndn::Name
Name
Definition:
ndn-common.cpp:25
nfd::StrategyChoicePublisher
Definition:
strategy-choice-publisher.hpp:36
nfd::StrategyChoicePublisher::~StrategyChoicePublisher
virtual ~StrategyChoicePublisher()
Definition:
strategy-choice-publisher.cpp:47
ndnSIM
NFD
daemon
mgmt
strategy-choice-publisher.hpp
Generated on Wed Feb 18 2015 16:31:16 for ndnSIM by
1.8.7