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
rib-status-publisher.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_RIB_RIB_STATUS_PUBLISHER_HPP
27
#define NFD_RIB_RIB_STATUS_PUBLISHER_HPP
28
29
#include "
core/segment-publisher.hpp
"
30
#include <ndn-cxx/face.hpp>
31
32
namespace
nfd
{
33
namespace
rib {
34
35
class
Rib
;
36
37
class
RibStatusPublisher
:
public
SegmentPublisher
<ndn::Face>
38
{
39
public
:
40
RibStatusPublisher
(
const
Rib
& rib,
41
ndn::Face
& face,
42
const
Name
& prefix,
43
ndn::KeyChain& keyChain);
44
45
virtual
46
~RibStatusPublisher
();
47
48
protected
:
49
virtual
size_t
50
generate
(
ndn::EncodingBuffer
& outBuffer);
51
52
private
:
53
const
Rib
& m_rib;
54
};
55
56
57
}
// namespace rib
58
}
// namespace nfd
59
60
#endif
nfd::SegmentPublisher
provides a publisher of Status Dataset or other segmented octet stream
Definition:
segment-publisher.hpp:40
nfd::rib::Rib
represents the RIB
Definition:
rib.hpp:45
Rib
Rib
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Definition:
rib.cpp:31
segment-publisher.hpp
nfd::rib::RibStatusPublisher::generate
virtual size_t generate(ndn::EncodingBuffer &outBuffer)
In a derived class, write the octets into outBuffer.
Definition:
rib-status-publisher.cpp:52
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:38
ndn::Face
Abstraction to communicate with local or remote NDN forwarder.
Definition:
face.hpp:100
nfd::rib::RibStatusPublisher::RibStatusPublisher
RibStatusPublisher(const Rib &rib, ndn::Face &face, const Name &prefix, ndn::KeyChain &keyChain)
Definition:
rib-status-publisher.cpp:38
ndn::Name
Name abstraction to represent an absolute name.
Definition:
name.hpp:46
nfd::rib::RibStatusPublisher::~RibStatusPublisher
virtual ~RibStatusPublisher()
Definition:
rib-status-publisher.cpp:47
nfd::rib::RibStatusPublisher
Definition:
rib-status-publisher.hpp:37
ndnSIM
NFD
rib
rib-status-publisher.hpp
Generated on Tue Feb 23 2016 22:18:45 for ndnSIM by
1.8.11