class DupeTuple

A member of the duplicate set. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

This is contained within a map keyed by its origin address.

 DupeTuple (EventLoop& ev, FaceManager* parent, const IPv4& origin, const uint16_t seqno, const TimeVal& vtime)

DupeTuple

inline IPv4  origin ()

origin

[const]

Returns: the origin of this duplicate set tuple.

inline uint16_t  seqno ()

seqno

[const]

Returns: the sequence number of this duplicate set tuple.

inline bool  is_forwarded ()

is_forwarded

[const]

Returns: true if the message has previously been forwarded.

inline void  set_is_forwarded (const bool is_forwarded)

set_is_forwarded

Set the forwarded flag for this message.

Parameters:

is_forwardedthe new value of _is_forwarded.
inline bool  is_seen_by_face (const OlsrTypes::FaceID faceid)

is_seen_by_face

[const]

Determine if an interface has already received this message.

Parameters:

faceidthe ID of the interface to check.

Returns: true if this message has previously been received by faceid.

inline void  set_seen_by_face (const OlsrTypes::FaceID faceid)

set_seen_by_face

Add an interface to the list of interfaces which have already received this message.

Parameters:

faceidthe ID of the interface to add.
void  update_timer (const TimeVal& vtime)

update_timer

Update the validity timer on this duplicate set entry.

Parameters:

vtimerelative validity time from now.
void  event_dead ()

event_dead

Callback method to: remove a duplicate set entry when it expires.


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:11:15 2009, using kdoc 2.0a54+XORP.