admits unsolicited Data from local faces More...
#include <unsolicited-data-policy.hpp>
Public Member Functions | |
virtual UnsolicitedDataDecision | decide (const Face &inFace, const Data &data) const final |
Public Member Functions inherited from nfd::fw::UnsolicitedDataPolicy | |
virtual | ~UnsolicitedDataPolicy ()=default |
Additional Inherited Members | |
Static Public Member Functions inherited from nfd::fw::UnsolicitedDataPolicy | |
template<typename P > | |
static void | registerPolicy (const std::string &key) |
static unique_ptr< UnsolicitedDataPolicy > | create (const std::string &key) |
admits unsolicited Data from local faces
Definition at line 92 of file unsolicited-data-policy.hpp.
|
finalvirtual |
Implements nfd::fw::UnsolicitedDataPolicy.
Definition at line 69 of file unsolicited-data-policy.cpp.
References nfd::fw::CACHE, nfd::fw::DROP, ndn::nfd::FACE_SCOPE_LOCAL, and nfd::face::Face::getScope().