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

drops all unsolicited Data More...

#include <unsolicited-data-policy.hpp>

Inheritance diagram for nfd::fw::DropAllUnsolicitedDataPolicy:
Collaboration diagram for nfd::fw::DropAllUnsolicitedDataPolicy:

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< UnsolicitedDataPolicycreate (const std::string &key)
 

Detailed Description

drops all unsolicited Data

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

Member Function Documentation

◆ decide()

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

Implements nfd::fw::UnsolicitedDataPolicy.

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

References nfd::fw::DROP.


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