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
face-query-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_QUERIED_FACE_STATUS_PUBLISHER_HPP
27
#define NFD_DAEMON_MGMT_QUERIED_FACE_STATUS_PUBLISHER_HPP
28
29
#include "
core/segment-publisher.hpp
"
30
#include "
mgmt/app-face.hpp
"
31
#include "
fw/face-table.hpp
"
32
33
#include <ndn-cxx/management/nfd-face-query-filter.hpp>
34
35
namespace
nfd {
36
37
class
FaceQueryStatusPublisher
:
public
SegmentPublisher
<AppFace>
38
{
39
public
:
40
FaceQueryStatusPublisher
(
const
FaceTable
& faceTable,
41
AppFace
& face,
42
const
Name
& prefix,
43
const
ndn::nfd::FaceQueryFilter& filter,
44
ndn::KeyChain& keyChain);
45
46
virtual
47
~FaceQueryStatusPublisher
();
48
49
bool
50
doesMatchFilter
(
const
shared_ptr<Face>& face);
51
52
protected
:
53
54
virtual
size_t
55
generate
(ndn::EncodingBuffer& outBuffer);
56
57
private
:
58
const
FaceTable
& m_faceTable;
59
const
ndn::nfd::FaceQueryFilter& m_faceFilter;
60
};
61
62
}
// namespace nfd
63
64
#endif // NFD_DAEMON_MGMT_QUERIED_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
nfd::FaceQueryStatusPublisher::FaceQueryStatusPublisher
FaceQueryStatusPublisher(const FaceTable &faceTable, AppFace &face, const Name &prefix, const ndn::nfd::FaceQueryFilter &filter, ndn::KeyChain &keyChain)
Definition:
face-query-status-publisher.cpp:37
segment-publisher.hpp
app-face.hpp
nfd::FaceQueryStatusPublisher
Definition:
face-query-status-publisher.hpp:37
nfd::FaceTable
container of all Faces
Definition:
face-table.hpp:38
nfd::FaceQueryStatusPublisher::~FaceQueryStatusPublisher
virtual ~FaceQueryStatusPublisher()
Definition:
face-query-status-publisher.cpp:48
ns3::ndn::Name
Name
Definition:
ndn-common.cpp:25
nfd::FaceQueryStatusPublisher::generate
virtual size_t generate(ndn::EncodingBuffer &outBuffer)
In a derived class, write the octets into outBuffer.
Definition:
face-query-status-publisher.cpp:95
face-table.hpp
nfd::FaceQueryStatusPublisher::doesMatchFilter
bool doesMatchFilter(const shared_ptr< Face > &face)
Definition:
face-query-status-publisher.cpp:53
ndnSIM
NFD
daemon
mgmt
face-query-status-publisher.hpp
Generated on Wed Feb 18 2015 16:31:16 for ndnSIM by
1.8.7