NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::FaceQueryStatusPublisher Class Reference

#include <face-query-status-publisher.hpp>

Inheritance diagram for nfd::FaceQueryStatusPublisher:
Collaboration diagram for nfd::FaceQueryStatusPublisher:

Public Member Functions

 FaceQueryStatusPublisher (const FaceTable &faceTable, AppFace &face, const Name &prefix, const ndn::nfd::FaceQueryFilter &filter, ndn::KeyChain &keyChain)
 
virtual ~FaceQueryStatusPublisher ()
 
bool doesMatchFilter (const shared_ptr< Face > &face)
 
- Public Member Functions inherited from nfd::SegmentPublisher< AppFace >
 SegmentPublisher (AppFace &face, const Name &prefix, ndn::KeyChain &keyChain, const time::milliseconds &freshnessPeriod=getDefaultFreshness())
 
virtual ~SegmentPublisher ()
 
void publish ()
 

Protected Member Functions

virtual size_t generate (ndn::EncodingBuffer &outBuffer)
 In a derived class, write the octets into outBuffer. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from nfd::SegmentPublisher< AppFace >
static size_t getMaxSegmentSize ()
 
static constexpr time::milliseconds getDefaultFreshness ()
 

Detailed Description

Definition at line 37 of file face-query-status-publisher.hpp.

Constructor & Destructor Documentation

◆ FaceQueryStatusPublisher()

nfd::FaceQueryStatusPublisher::FaceQueryStatusPublisher ( const FaceTable faceTable,
AppFace face,
const Name prefix,
const ndn::nfd::FaceQueryFilter filter,
ndn::KeyChain keyChain 
)

Definition at line 33 of file face-query-status-publisher.cpp.

◆ ~FaceQueryStatusPublisher()

nfd::FaceQueryStatusPublisher::~FaceQueryStatusPublisher ( )
virtual

Definition at line 44 of file face-query-status-publisher.cpp.

Member Function Documentation

◆ doesMatchFilter()

◆ generate()

size_t nfd::FaceQueryStatusPublisher::generate ( ndn::EncodingBuffer &  outBuffer)
protectedvirtual

In a derived class, write the octets into outBuffer.

Implements nfd::SegmentPublisher< AppFace >.

Definition at line 90 of file face-query-status-publisher.cpp.

References doesMatchFilter(), and ndn::nfd::FaceStatus::wireEncode().


The documentation for this class was generated from the following files: