NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
k
l
n
o
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
f
i
k
l
n
p
q
r
s
t
u
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Enumerations
+
Enumerator
a
c
d
e
i
k
l
m
n
p
r
s
u
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
f
g
i
k
l
m
n
p
r
s
t
Typedefs
+
Macros
d
e
f
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
channel-status-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_CHANNEL_STATUS_PUBLISHER_HPP
27
#define NFD_DAEMON_MGMT_CHANNEL_STATUS_PUBLISHER_HPP
28
29
#include "
core/segment-publisher.hpp
"
30
#include "
mgmt/app-face.hpp
"
31
32
namespace
nfd
{
33
34
class
ProtocolFactory;
35
36
class
ChannelStatusPublisher
:
public
SegmentPublisher
<AppFace>
37
{
38
public
:
39
typedef
std::map< std::string
/*protocol*/
, shared_ptr<ProtocolFactory> >
FactoryMap
;
40
41
ChannelStatusPublisher
(
const
FactoryMap
& factories,
42
AppFace
& face,
43
const
Name
& prefix,
44
ndn::KeyChain
& keyChain);
45
46
virtual
47
~ChannelStatusPublisher
();
48
49
protected
:
50
51
virtual
size_t
52
generate
(
ndn::EncodingBuffer
& outBuffer);
53
54
private
:
55
const
FactoryMap
& m_factories;
56
};
57
58
}
// namespace nfd
59
60
#endif // NFD_DAEMON_MGMT_CHANNEL_STATUS_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::ChannelStatusPublisher::generate
virtual size_t generate(ndn::EncodingBuffer &outBuffer)
In a derived class, write the octets into outBuffer.
Definition:
channel-status-publisher.cpp:48
segment-publisher.hpp
nfd::ChannelStatusPublisher::ChannelStatusPublisher
ChannelStatusPublisher(const FactoryMap &factories, AppFace &face, const Name &prefix, ndn::KeyChain &keyChain)
Definition:
channel-status-publisher.cpp:34
app-face.hpp
ndn::security::KeyChain
The packet signing interface.
Definition:
key-chain.hpp:48
nfd::ChannelStatusPublisher::~ChannelStatusPublisher
virtual ~ChannelStatusPublisher()
Definition:
channel-status-publisher.cpp:43
nfd::ChannelStatusPublisher
Definition:
channel-status-publisher.hpp:36
ndn::encoding::EncodingBuffer
EncodingImpl< EncoderTag > EncodingBuffer
Definition:
encoding-buffer-fwd.hpp:45
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
ndn::Name
Name abstraction to represent an absolute name.
Definition:
name.hpp:46
nfd::ChannelStatusPublisher::FactoryMap
std::map< std::string, shared_ptr< ProtocolFactory > > FactoryMap
Definition:
channel-status-publisher.hpp:39
ndnSIM
NFD
daemon
mgmt
channel-status-publisher.hpp
Generated on Fri Feb 23 2018 12:30:55 for ndnSIM by
1.8.14