#include <adjacency-list.hpp>
Definition at line 32 of file adjacency-list.hpp.
◆ const_iterator
◆ iterator
◆ begin()
◆ end()
◆ findAdjacent() [1/3]
◆ findAdjacent() [2/3]
◆ findAdjacent() [3/3]
◆ getAdjacent()
Adjacent nlsr::AdjacencyList::getAdjacent |
( |
const ndn::Name & |
adjName | ) |
const |
◆ getAdjList() [1/2]
std::list< Adjacent > & nlsr::AdjacencyList::getAdjList |
( |
| ) |
|
◆ getAdjList() [2/2]
const std::list< Adjacent > & nlsr::AdjacencyList::getAdjList |
( |
| ) |
const |
◆ getFaceId()
uint64_t nlsr::AdjacencyList::getFaceId |
( |
const ndn::FaceUri & |
faceUri | ) |
|
◆ getNumOfActiveNeighbor()
int32_t nlsr::AdjacencyList::getNumOfActiveNeighbor |
( |
| ) |
const |
◆ getStatusOfNeighbor()
Adjacent::Status nlsr::AdjacencyList::getStatusOfNeighbor |
( |
const ndn::Name & |
neighbor | ) |
const |
◆ getTimedOutInterestCount()
int32_t nlsr::AdjacencyList::getTimedOutInterestCount |
( |
const ndn::Name & |
neighbor | ) |
const |
◆ incrementTimedOutInterestCount()
void nlsr::AdjacencyList::incrementTimedOutInterestCount |
( |
const ndn::Name & |
neighbor | ) |
|
◆ insert()
bool nlsr::AdjacencyList::insert |
( |
const Adjacent & |
adjacent | ) |
|
◆ isAdjLsaBuildable()
bool nlsr::AdjacencyList::isAdjLsaBuildable |
( |
const uint32_t |
interestRetryNo | ) |
const |
Determines whether this list can be used to build an adj. LSA.
- Parameters
-
interestRetryNo | The maximum number of hello-interest retries to contact a neighbor. |
- Returns
- Returns a boolean indicating whether this list can be used to build an adj. LSA.
Determines whether this adjacency list object could be used to build an adjacency LSA. An LSA is buildable when the status of all neighbors is known. A neighbor's status is known when their status is ACTIVE, or INACTIVE and some number of hello interests (specified by nlsr::ConfParameter::getInterestRetryNumber()) have failed. To be explicit, a neighbor's status is unknown if we are still sending hello interests.
Definition at line 134 of file adjacency-list.cpp.
◆ isNeighbor()
bool nlsr::AdjacencyList::isNeighbor |
( |
const ndn::Name & |
adjName | ) |
const |
◆ operator==()
bool nlsr::AdjacencyList::operator== |
( |
const AdjacencyList & |
adl | ) |
const |
◆ reset()
void nlsr::AdjacencyList::reset |
( |
| ) |
|
|
inline |
◆ setStatusOfNeighbor()
void nlsr::AdjacencyList::setStatusOfNeighbor |
( |
const ndn::Name & |
neighbor, |
|
|
Adjacent::Status |
status |
|
) |
| |
◆ setTimedOutInterestCount()
void nlsr::AdjacencyList::setTimedOutInterestCount |
( |
const ndn::Name & |
neighbor, |
|
|
uint32_t |
count |
|
) |
| |
◆ size()
size_t nlsr::AdjacencyList::size |
( |
| ) |
const |
|
inline |
◆ writeLog()
void nlsr::AdjacencyList::writeLog |
( |
| ) |
|