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

#include <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 &block)
 

Detailed Description

Constructor & Destructor Documentation

◆ NextHopRecord() [1/2]

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

Definition at line 36 of file fib-entry.cpp.

◆ NextHopRecord() [2/2]

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

Definition at line 42 of file fib-entry.cpp.

References wireDecode().

Member Function Documentation

◆ getFaceId()

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

Definition at line 49 of file fib-entry.hpp.

Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().

◆ setFaceId()

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

Definition at line 48 of file fib-entry.cpp.

References ndn::Block::reset().

◆ getCost()

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

Definition at line 58 of file fib-entry.hpp.

Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().

◆ setCost()

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

Definition at line 56 of file fib-entry.cpp.

References ndn::Block::reset().

◆ 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

Definition at line 80 of file fib-entry.cpp.

References ndn::Block::hasWire().

◆ wireDecode()


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