#include <LSA.h>
Public Types | |
enum | InstallSource { Originated = 0, Flooded = 1 } |
Public Member Functions | |
LSATrackingInfo (void) | |
LSATrackingInfo (const LSATrackingInfo &info) | |
void | SetSource (InstallSource installSource) |
InstallSource | GetSource (void) const |
void | IncrementInstallTime (void) |
void | ResetInstallTime (void) |
unsigned long | GetInstallTime (void) const |
Private Attributes | |
InstallSource | source |
unsigned long | installTime |
OSPF::LSATrackingInfo::LSATrackingInfo | ( | void | ) | [inline] |
OSPF::LSATrackingInfo::LSATrackingInfo | ( | const LSATrackingInfo & | info | ) | [inline] |
void OSPF::LSATrackingInfo::SetSource | ( | InstallSource | installSource | ) | [inline] |
Referenced by OSPF::Router::OriginateASExternalLSA(), OSPF::Area::OriginateRouterLSA(), and OSPF::Router::UpdateExternalRoute().
00074 { source = installSource; }
InstallSource OSPF::LSATrackingInfo::GetSource | ( | void | ) | const [inline] |
void OSPF::LSATrackingInfo::IncrementInstallTime | ( | void | ) | [inline] |
void OSPF::LSATrackingInfo::ResetInstallTime | ( | void | ) | [inline] |
Referenced by OSPF::SummaryLSA::Update(), OSPF::RouterLSA::Update(), OSPF::NetworkLSA::Update(), and OSPF::ASExternalLSA::Update().
00077 { installTime = 0; }
unsigned long OSPF::LSATrackingInfo::GetInstallTime | ( | void | ) | const [inline] |
InstallSource OSPF::LSATrackingInfo::source [private] |
Referenced by GetSource(), and SetSource().
unsigned long OSPF::LSATrackingInfo::installTime [private] |
Referenced by GetInstallTime(), IncrementInstallTime(), and ResetInstallTime().