ndn::nfd::NextHopRecord Class Reference

#include <ndn-cxx/mgmt/nfd/fib-entry.hpp>

Classes

class  Error
 

Public Member Functions

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

Detailed Description

Constructor & Destructor Documentation

◆ NextHopRecord() [1/2]

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

◆ NextHopRecord() [2/2]

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

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

Member Function Documentation

◆ getCost()

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

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

◆ getFaceId()

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

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

◆ setCost()

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

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

◆ setFaceId()

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

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

◆ wireDecode()

void ndn::nfd::NextHopRecord::wireDecode ( const Block block)

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

◆ wireEncode() [1/2]

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

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

◆ wireEncode() [2/2]

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

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