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

#include <nfd-fib-entry.hpp>

Classes

class  Error
 

Public Member Functions

 NextHopRecord ()
 
 NextHopRecord (const Block &block)
 
uint64_t getFaceId () const
 
NextHopRecordsetFaceId (uint64_t faceId)
 
uint64_t getCost () const
 
NextHopRecordsetCost (uint64_t cost)
 
template<encoding::Tag TAG>
size_t wireEncode (EncodingImpl< TAG > &block) const
 
const BlockwireEncode () const
 
void wireDecode (const Block &wire)
 

Detailed Description

Definition at line 34 of file nfd-fib-entry.hpp.

Constructor & Destructor Documentation

§ NextHopRecord() [1/2]

ndn::nfd::NextHopRecord::NextHopRecord ( )

§ NextHopRecord() [2/2]

ndn::nfd::NextHopRecord::NextHopRecord ( const Block block)
explicit

Definition at line 53 of file nfd-fib-entry.cpp.

References wireDecode().

Member Function Documentation

§ getFaceId()

uint64_t ndn::nfd::NextHopRecord::getFaceId ( ) const
inline

Definition at line 53 of file nfd-fib-entry.hpp.

References setFaceId().

§ setFaceId()

NextHopRecord & ndn::nfd::NextHopRecord::setFaceId ( uint64_t  faceId)

Definition at line 59 of file nfd-fib-entry.cpp.

References ndn::Block::reset().

Referenced by nfd::FibManager::FibManager(), and getFaceId().

§ getCost()

uint64_t ndn::nfd::NextHopRecord::getCost ( ) const
inline

Definition at line 62 of file nfd-fib-entry.hpp.

References setCost(), wireDecode(), and wireEncode().

§ setCost()

NextHopRecord & ndn::nfd::NextHopRecord::setCost ( uint64_t  cost)

Definition at line 67 of file nfd-fib-entry.cpp.

References ndn::Block::reset().

Referenced by nfd::FibManager::FibManager(), and getCost().

§ wireEncode() [1/2]

template<encoding::Tag TAG>
size_t ndn::nfd::NextHopRecord::wireEncode ( EncodingImpl< TAG > &  block) const

§ wireEncode() [2/2]

const Block & ndn::nfd::NextHopRecord::wireEncode ( ) const

§ wireDecode()


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