class TopologyEntry

A topology control record (TC). More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 TopologyEntry (EventLoop& ev, TopologyManager* parent, OlsrTypes::TopologyID id, const IPv4& dest, const IPv4& lasthop, const uint16_t distance, const uint16_t seqno, const TimeVal& vtime)

TopologyEntry

inline OlsrTypes::TopologyID  id ()

id

[const]

inline IPv4  destination ()

destination

[const]

inline IPv4  lasthop ()

lasthop

[const]

inline uint16_t  distance ()

distance

[const]

inline uint16_t  seqno ()

seqno

[const]

inline void  set_distance (const uint16_t d)

set_distance

inline TimeVal  time_remaining ()

time_remaining

[const]

Returns: the amount of time remaining until this TC entry expires.

void  update_timer (const TimeVal& vtime)

update_timer

Update the TopologyEntry's expiry timer.

Parameters:

vtimethe new value of the expiry timer.
void  event_dead ()

event_dead

Callback method to: delete a dying TopologyEntry.


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:06:13 2008, using kdoc 2.0a54+XORP.