#include <dsr-rcache.h>
Public Member Functions | |
LinkStab (Time linkStab=Simulator::Now()) | |
Constructor. More... | |
virtual | ~LinkStab () |
Destructor. More... | |
Time | GetLinkStability () const |
void | Print () const |
void | SetLinkStability (Time linkStab) |
set/get the link stability More... | |
Private Attributes | |
Time | m_linkStability |
The link stability lifetime expected, when the time is due, the link expires the expiration happens when purge the node and link cache before update them when receiving new information. More... | |
Definition at line 121 of file dsr-rcache.h.
ns3::dsr::LinkStab::LinkStab | ( | Time | linkStab = Simulator::Now () | ) |
Constructor.
Definition at line 89 of file dsr-rcache.cc.
|
virtual |
Destructor.
Definition at line 94 of file dsr-rcache.cc.
|
inline |
Definition at line 140 of file dsr-rcache.h.
References m_linkStability, and ns3::Simulator::Now().
Referenced by ns3::dsr::RouteCache::AddRoute_Link(), and Print().
void ns3::dsr::LinkStab::Print | ( | void | ) | const |
Definition at line 98 of file dsr-rcache.cc.
References GetLinkStability(), and NS_LOG_LOGIC.
Referenced by ns3::dsr::RouteCache::AddRoute_Link().
|
inline |
set/get the link stability
Definition at line 136 of file dsr-rcache.h.
References m_linkStability, and ns3::Simulator::Now().
Referenced by ns3::dsr::RouteCache::AddRoute_Link().
|
private |
The link stability lifetime expected, when the time is due, the link expires the expiration happens when purge the node and link cache before update them when receiving new information.
Definition at line 152 of file dsr-rcache.h.
Referenced by GetLinkStability(), and SetLinkStability().