nlsr::RoutingTableStatus Class Reference

Data abstraction for routing table status. More...

#include <routing-table.hpp>

+ Inheritance diagram for nlsr::RoutingTableStatus:
+ Collaboration diagram for nlsr::RoutingTableStatus:

Public Types

using Error = ndn::tlv::Error
 

Public Member Functions

 RoutingTableStatus ()=default
 
 RoutingTableStatus (const ndn::Block &block)
 
const std::list< RoutingTableEntry > & getDryRoutingTableEntry () const
 
const std::list< RoutingTableEntry > & getRoutingTableEntry () const
 
const ndn::Block & wireEncode () const
 

Protected Attributes

std::list< RoutingTableEntrym_dryTable
 
std::list< RoutingTableEntrym_rTable
 
ndn::Block m_wire
 

Detailed Description

Data abstraction for routing table status.

RtStatus := RT-STATUS-TYPE TLV-LENGTH RouteTableEntry*

See also
https://redmine.named-data.net/projects/nlsr/wiki/Routing_Table_Dataset

Definition at line 44 of file routing-table.hpp.

Member Typedef Documentation

◆ Error

Constructor & Destructor Documentation

◆ RoutingTableStatus() [1/2]

nlsr::RoutingTableStatus::RoutingTableStatus ( )
default

◆ RoutingTableStatus() [2/2]

nlsr::RoutingTableStatus::RoutingTableStatus ( const ndn::Block &  block)
inline

Definition at line 51 of file routing-table.hpp.

Member Function Documentation

◆ getDryRoutingTableEntry()

const std::list<RoutingTableEntry>& nlsr::RoutingTableStatus::getDryRoutingTableEntry ( ) const
inline

Definition at line 63 of file routing-table.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getRoutingTableEntry()

const std::list<RoutingTableEntry>& nlsr::RoutingTableStatus::getRoutingTableEntry ( ) const
inline

Definition at line 57 of file routing-table.hpp.

+ Here is the caller graph for this function:

◆ wireEncode()

const ndn::Block & nlsr::RoutingTableStatus::wireEncode ( ) const

Definition at line 251 of file routing-table.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_dryTable

std::list<RoutingTableEntry> nlsr::RoutingTableStatus::m_dryTable
protected

Definition at line 80 of file routing-table.hpp.

◆ m_rTable

std::list<RoutingTableEntry> nlsr::RoutingTableStatus::m_rTable
protected

Definition at line 81 of file routing-table.hpp.

◆ m_wire

ndn::Block nlsr::RoutingTableStatus::m_wire
mutableprotected

Definition at line 82 of file routing-table.hpp.