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

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

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

References wireDecode().

Member Function Documentation

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

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

References 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::FibEnumerationPublisher::generate(), and getFaceId().

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

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

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

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::FibEnumerationPublisher::generate(), and getCost().

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

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