drops all unsolicited Data More...
#include <unsolicited-data-policy.hpp>
Public Member Functions | |
UnsolicitedDataDecision | decide (const Face &inFace, const Data &data) const final |
Public Member Functions inherited from nfd::fw::UnsolicitedDataPolicy | |
virtual | ~UnsolicitedDataPolicy ()=default |
Static Public Attributes | |
static const std::string | POLICY_NAME |
Additional Inherited Members | |
Static Public Member Functions inherited from nfd::fw::UnsolicitedDataPolicy | |
template<typename P > | |
static void | registerPolicy (const std::string &policyName=P::POLICY_NAME) |
static unique_ptr< UnsolicitedDataPolicy > | create (const std::string &policyName) |
static std::set< std::string > | getPolicyNames () |
drops all unsolicited Data
Definition at line 90 of file unsolicited-data-policy.hpp.
|
finalvirtual |
Implements nfd::fw::UnsolicitedDataPolicy.
Definition at line 73 of file unsolicited-data-policy.cpp.
References nfd::fw::DROP, and nfd::fw::AdmitLocalUnsolicitedDataPolicy::POLICY_NAME.
|
static |
Definition at line 97 of file unsolicited-data-policy.hpp.
Referenced by nfd::fw::UnsolicitedDataPolicy::getPolicyNames().