unsolicited-data-policy.hpp File Reference
#include "face/face.hpp"
+ Include dependency graph for unsolicited-data-policy.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nfd::fw::AdmitAllUnsolicitedDataPolicy
 admits all unsolicited Data More...
 
class  nfd::fw::AdmitLocalUnsolicitedDataPolicy
 admits unsolicited Data from local faces More...
 
class  nfd::fw::AdmitNetworkUnsolicitedDataPolicy
 admits unsolicited Data from non-local faces More...
 
class  nfd::fw::DropAllUnsolicitedDataPolicy
 drops all unsolicited Data More...
 
class  nfd::fw::UnsolicitedDataPolicy
 determines how to process an unsolicited Data More...
 

Namespaces

 nfd
 Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents, Colorado State University, University Pierre & Marie Curie, Sorbonne University, Washington University in St.
 
 nfd::fw
 

Macros

#define NFD_REGISTER_UNSOLICITED_DATA_POLICY(P)
 registers an unsolicited data policy More...
 

Typedefs

typedef DropAllUnsolicitedDataPolicy nfd::fw::DefaultUnsolicitedDataPolicy
 the default UnsolicitedDataPolicy More...
 

Enumerations

enum  nfd::fw::UnsolicitedDataDecision {
  nfd::fw::UnsolicitedDataDecision::DROP,
  nfd::fw::UnsolicitedDataDecision::CACHE
}
 a decision made by UnsolicitedDataPolicy More...
 

Functions

std::ostream & nfd::fw::operator<< (std::ostream &os, UnsolicitedDataDecision d)
 

Macro Definition Documentation

#define NFD_REGISTER_UNSOLICITED_DATA_POLICY (   P)
Value:
static class NfdAuto ## P ## UnsolicitedDataPolicyRegistrationClass \
{ \
public: \
NfdAuto ## P ## UnsolicitedDataPolicyRegistrationClass() \
{ \
::nfd::fw::UnsolicitedDataPolicy::registerPolicy<P>(); \
} \
} g_nfdAuto ## P ## UnsolicitedDataPolicyRegistrationVariable

registers an unsolicited data policy

Parameters
Pa subclass of nfd::fw::UnsolicitedDataPolicy; P::POLICY_NAME must be a string that contains policy name

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