Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

imepLink Class Reference

#include <imep.h>

Collaboration diagram for imepLink:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 imepLink (nsaddr_t index)
nsaddr_tindex ()
u_int32_tstatus ()
u_int8_tlastSeq ()
u_int8_tlastSeqValid ()
double & in_expire ()
double & out_expire ()
double & lastEcho ()

Protected Member Functions

 LIST_ENTRY (imepLink) link

Private Attributes

nsaddr_t index_
u_int32_t status_
double in_expire_
double out_expire_
double last_echo_
u_int8_t last_seq_
bool last_seq_valid

Friends

class imepAgent

Constructor & Destructor Documentation

imepLink::imepLink nsaddr_t  index  )  [inline]
 

Definition at line 107 of file imep.h.

References BEACON_PERIOD, index(), index_, and last_echo_.

00107 : index_(index), last_echo_(-BEACON_PERIOD) {}

Here is the call graph for this function:


Member Function Documentation

double& imepLink::in_expire  )  [inline]
 

Definition at line 113 of file imep.h.

References in_expire_.

Referenced by imepAgent::imepSetLinkDownStatus(), imepAgent::imepSetLinkInStatus(), and imepAgent::purgeLink().

00113 { return in_expire_; }

nsaddr_t& imepLink::index  )  [inline]
 

Definition at line 109 of file imep.h.

References index_, and nsaddr_t.

Referenced by imepAgent::createResponseList(), imepAgent::findLink(), imepAgent::handlerBeaconTimer(), imepAgent::imepGetBiLinks(), imepLink(), imepAgent::log_neighbor_list(), and imepAgent::purgeLink().

00109 { return index_; }

double& imepLink::lastEcho  )  [inline]
 

Definition at line 115 of file imep.h.

References last_echo_.

Referenced by imepAgent::aggregateHelloBlock().

00115 { return last_echo_; } 

u_int8_t& imepLink::lastSeq  )  [inline]
 

Definition at line 111 of file imep.h.

References last_seq_, and u_int8_t.

Referenced by imepAgent::handlerIncomingTimer(), imepAgent::imep_object_input(), and imepAgent::imepSetLinkInStatus().

00111 { return last_seq_;}

u_int8_t& imepLink::lastSeqValid  )  [inline]
 

Definition at line 112 of file imep.h.

References last_seq_, and u_int8_t.

Referenced by imepAgent::imep_object_input(), and imepAgent::imepSetLinkInStatus().

00112 { return last_seq_;}

imepLink::LIST_ENTRY imepLink   )  [protected]
 

double& imepLink::out_expire  )  [inline]
 

Definition at line 114 of file imep.h.

References out_expire_.

Referenced by imepAgent::imepSetLinkDownStatus(), imepAgent::imepSetLinkInStatus(), imepAgent::imepSetLinkOutStatus(), and imepAgent::purgeLink().

00114 { return out_expire_; }

u_int32_t& imepLink::status  )  [inline]
 

Definition at line 110 of file imep.h.

References status_, and u_int32_t.

Referenced by imepAgent::createResponseList(), imepAgent::getResponseListSize(), imepAgent::handlerBeaconTimer(), imepAgent::imepGetBiLinks(), imepAgent::imepGetLinkStatus(), imepAgent::imepSetLinkDownStatus(), imepAgent::imepSetLinkInStatus(), imepAgent::imepSetLinkOutStatus(), imepAgent::log_neighbor_list(), and imepAgent::purgeLink().

00110 { return status_;}


Friends And Related Function Documentation

friend class imepAgent [friend]
 

Definition at line 105 of file imep.h.


Member Data Documentation

double imepLink::in_expire_ [private]
 

Definition at line 123 of file imep.h.

Referenced by in_expire().

nsaddr_t imepLink::index_ [private]
 

Definition at line 121 of file imep.h.

Referenced by imepLink(), and index().

double imepLink::last_echo_ [private]
 

Definition at line 125 of file imep.h.

Referenced by imepLink(), and lastEcho().

u_int8_t imepLink::last_seq_ [private]
 

Definition at line 126 of file imep.h.

Referenced by lastSeq(), and lastSeqValid().

bool imepLink::last_seq_valid [private]
 

Definition at line 127 of file imep.h.

double imepLink::out_expire_ [private]
 

Definition at line 124 of file imep.h.

Referenced by out_expire().

u_int32_t imepLink::status_ [private]
 

Definition at line 122 of file imep.h.

Referenced by status().


The documentation for this class was generated from the following file:
Generated on Tue Apr 20 12:52:58 2004 for NS2.26SourcesOriginal by doxygen 1.3.3