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

contains network layer packet counters More...

#include <face-counters.hpp>

Inheritance diagram for nfd::NetworkLayerCounters:
Collaboration diagram for nfd::NetworkLayerCounters:

Public Member Functions

const PacketCountergetNInInterests () const
 incoming Interest More...
 
PacketCountergetNInInterests ()
 
const PacketCountergetNInDatas () const
 incoming Data More...
 
PacketCountergetNInDatas ()
 
const PacketCountergetNOutInterests () const
 outgoing Interest More...
 
PacketCountergetNOutInterests ()
 
const PacketCountergetNOutDatas () const
 outgoing Data More...
 
PacketCountergetNOutDatas ()
 

Protected Member Functions

template<typename R >
void copyTo (R &recipient) const
 copy current obseverations to a struct More...
 

Detailed Description

contains network layer packet counters

Definition at line 108 of file face-counters.hpp.

Member Function Documentation

const PacketCounter& nfd::NetworkLayerCounters::getNInInterests ( ) const
inline

incoming Interest

Definition at line 113 of file face-counters.hpp.

Referenced by nfd::Face::Face(), and nfd::Forwarder::~Forwarder().

PacketCounter& nfd::NetworkLayerCounters::getNInInterests ( )
inline

Definition at line 119 of file face-counters.hpp.

const PacketCounter& nfd::NetworkLayerCounters::getNInDatas ( ) const
inline

incoming Data

Definition at line 126 of file face-counters.hpp.

Referenced by nfd::compare_pickInterest(), and nfd::Face::Face().

PacketCounter& nfd::NetworkLayerCounters::getNInDatas ( )
inline

Definition at line 132 of file face-counters.hpp.

const PacketCounter& nfd::NetworkLayerCounters::getNOutInterests ( ) const
inline

outgoing Interest

Definition at line 139 of file face-counters.hpp.

Referenced by nfd::compare_pickInterest(), and nfd::Face::Face().

PacketCounter& nfd::NetworkLayerCounters::getNOutInterests ( )
inline

Definition at line 145 of file face-counters.hpp.

const PacketCounter& nfd::NetworkLayerCounters::getNOutDatas ( ) const
inline

outgoing Data

Definition at line 152 of file face-counters.hpp.

Referenced by nfd::compare_pickInterest(), and nfd::Face::Face().

PacketCounter& nfd::NetworkLayerCounters::getNOutDatas ( )
inline

Definition at line 158 of file face-counters.hpp.

template<typename R >
void nfd::NetworkLayerCounters::copyTo ( R &  recipient) const
inlineprotected

copy current obseverations to a struct

Parameters
recipientan object with set methods for counters

Definition at line 169 of file face-counters.hpp.

Referenced by nfd::ForwarderCounters::copyTo(), and nfd::FaceCounters::copyTo().


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