nfd::rib::ReadvertisedRoute Class Reference

State of a readvertised route. More...

#include <daemon/rib/readvertise/readvertised-route.hpp>

+ Inheritance diagram for nfd::rib::ReadvertisedRoute:
+ Collaboration diagram for nfd::rib::ReadvertisedRoute:

Public Member Functions

 ReadvertisedRoute (const Name &prefix)
 

Public Attributes

size_t nRibRoutes = 0
 number of RIB routes that cause the readvertisement More...
 
Name prefix
 readvertised prefix More...
 
time::milliseconds retryDelay = 0_ms
 retry interval (not used for refresh) More...
 
ndn::scheduler::ScopedEventId retryEvt
 retry or refresh event More...
 
ndn::security::SigningInfo signer
 signer for commands More...
 

Friends

bool operator< (const ReadvertisedRoute &lhs, const ReadvertisedRoute &rhs)
 

Detailed Description

State of a readvertised route.

Definition at line 41 of file readvertised-route.hpp.

Constructor & Destructor Documentation

◆ ReadvertisedRoute()

nfd::rib::ReadvertisedRoute::ReadvertisedRoute ( const Name &  prefix)
inlineexplicit

Definition at line 45 of file readvertised-route.hpp.

Friends And Related Function Documentation

◆ operator<

bool operator< ( const ReadvertisedRoute lhs,
const ReadvertisedRoute rhs 
)
friend

Definition at line 50 of file readvertised-route.hpp.

Member Data Documentation

◆ nRibRoutes

size_t nfd::rib::ReadvertisedRoute::nRibRoutes = 0
mutable

number of RIB routes that cause the readvertisement

Definition at line 59 of file readvertised-route.hpp.

◆ prefix

Name nfd::rib::ReadvertisedRoute::prefix

readvertised prefix

Definition at line 57 of file readvertised-route.hpp.

◆ retryDelay

time::milliseconds nfd::rib::ReadvertisedRoute::retryDelay = 0_ms
mutable

retry interval (not used for refresh)

Definition at line 60 of file readvertised-route.hpp.

◆ retryEvt

ndn::scheduler::ScopedEventId nfd::rib::ReadvertisedRoute::retryEvt
mutable

retry or refresh event

Definition at line 61 of file readvertised-route.hpp.

◆ signer

ndn::security::SigningInfo nfd::rib::ReadvertisedRoute::signer
mutable

signer for commands

Definition at line 58 of file readvertised-route.hpp.