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
face-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_FACE_STATUS_PUBLISHER_HPP
27
#define NFD_DAEMON_MGMT_FACE_STATUS_PUBLISHER_HPP
28
29
#include "
core/segment-publisher.hpp
"
30
#include "
mgmt/app-face.hpp
"
31
32
namespace
nfd
{
33
34
class
FaceTable
;
35
36
class
FaceStatusPublisher
:
public
SegmentPublisher
<AppFace>
37
{
38
public
:
39
FaceStatusPublisher
(
const
FaceTable
& faceTable,
40
AppFace
& face,
41
const
Name
& prefix,
42
ndn::KeyChain& keyChain);
43
44
virtual
45
~FaceStatusPublisher
();
46
47
protected
:
48
49
virtual
size_t
50
generate
(
ndn::EncodingBuffer
& outBuffer);
51
52
private
:
53
const
FaceTable
& m_faceTable;
54
};
55
56
}
// namespace nfd
57
58
#endif // NFD_DAEMON_MGMT_FACE_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
segment-publisher.hpp
app-face.hpp
nfd::FaceStatusPublisher
Definition:
face-status-publisher.hpp:36
nfd::FaceStatusPublisher::~FaceStatusPublisher
virtual ~FaceStatusPublisher()
Definition:
face-status-publisher.cpp:42
nfd::FaceTable
container of all Faces
Definition:
face-table.hpp:38
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
nfd::FaceStatusPublisher::generate
virtual size_t generate(ndn::EncodingBuffer &outBuffer)
In a derived class, write the octets into outBuffer.
Definition:
face-status-publisher.cpp:47
nfd::FaceStatusPublisher::FaceStatusPublisher
FaceStatusPublisher(const FaceTable &faceTable, AppFace &face, const Name &prefix, ndn::KeyChain &keyChain)
Definition:
face-status-publisher.cpp:33
nfd::FaceTable
FaceTable
Definition:
face-table.cpp:32
ndn::Name
Name abstraction to represent an absolute name.
Definition:
name.hpp:46
ndnSIM
NFD
daemon
mgmt
face-status-publisher.hpp
Generated on Tue Feb 23 2016 22:18:44 for ndnSIM by
1.8.11