#include <face-query-status-publisher.hpp>
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 () |
Definition at line 37 of file face-query-status-publisher.hpp.
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.
|
virtual |
Definition at line 44 of file face-query-status-publisher.cpp.
bool nfd::FaceQueryStatusPublisher::doesMatchFilter | ( | const shared_ptr< Face > & | face | ) |
Definition at line 49 of file face-query-status-publisher.cpp.
References ndn::nfd::FACE_SCOPE_LOCAL, ndn::nfd::FaceQueryFilter::getFaceId(), ndn::nfd::FaceQueryFilter::getFacePersistency(), ndn::nfd::FaceQueryFilter::getFaceScope(), ndn::nfd::FaceQueryFilter::getLinkType(), ndn::nfd::FaceQueryFilter::getLocalUri(), ndn::nfd::FaceQueryFilter::getRemoteUri(), ndn::nfd::FaceQueryFilter::getUriScheme(), ndn::nfd::FaceQueryFilter::hasFaceId(), ndn::nfd::FaceQueryFilter::hasFacePersistency(), ndn::nfd::FaceQueryFilter::hasFaceScope(), ndn::nfd::FaceQueryFilter::hasLinkType(), ndn::nfd::FaceQueryFilter::hasLocalUri(), ndn::nfd::FaceQueryFilter::hasRemoteUri(), ndn::nfd::FaceQueryFilter::hasUriScheme(), and ndn::nfd::LINK_TYPE_MULTI_ACCESS.
Referenced by generate().
|
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().