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

admits all unsolicited Data More...

#include <unsolicited-data-policy.hpp>

Inheritance diagram for nfd::fw::AdmitAllUnsolicitedDataPolicy:
Collaboration diagram for nfd::fw::AdmitAllUnsolicitedDataPolicy:

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< UnsolicitedDataPolicycreate (const std::string &policyName)
 
static std::set< std::string > getPolicyNames ()
 

Detailed Description

admits all unsolicited Data

Definition at line 126 of file unsolicited-data-policy.hpp.

Member Function Documentation

UnsolicitedDataDecision nfd::fw::AdmitAllUnsolicitedDataPolicy::decide ( const Face inFace,
const Data data 
) const
finalvirtual

Implements nfd::fw::UnsolicitedDataPolicy.

Definition at line 106 of file unsolicited-data-policy.cpp.

References nfd::fw::CACHE.

Member Data Documentation

const std::string nfd::fw::AdmitAllUnsolicitedDataPolicy::POLICY_NAME
static

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