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-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:33
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
ndn::encoding::EncodingBuffer
EncodingImpl< EncoderTag > EncodingBuffer
Definition:
encoding-buffer-fwd.hpp:45
nfd::FaceQueryStatusPublisher::~FaceQueryStatusPublisher
virtual ~FaceQueryStatusPublisher()
Definition:
face-query-status-publisher.cpp:44
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:38
ndn::Name
Name abstraction to represent an absolute name.
Definition:
name.hpp:46
ndn::nfd::FaceQueryFilter
represents Face Query Filter
Definition:
nfd-face-query-filter.hpp:36
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:90
face-table.hpp
nfd::FaceQueryStatusPublisher::doesMatchFilter
bool doesMatchFilter(const shared_ptr< Face > &face)
Definition:
face-query-status-publisher.cpp:49
ndnSIM
NFD
daemon
mgmt
face-query-status-publisher.hpp
Generated on Tue Feb 23 2016 22:18:44 for ndnSIM by
1.8.11