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 37 of file fib-entry.cpp.

◆ NextHopRecord() [2/2]

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

Definition at line 43 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.

References setFaceId().

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

◆ setFaceId()

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

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

References ndn::Block::reset().

Referenced by getFaceId().

◆ getCost()

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

◆ setCost()

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

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

References ndn::Block::reset().

Referenced by 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: