class LMNode


Public Fields

int child_flag_
indicates whether this node is a child
int energy_
Energy reserves of the child node
nsaddr_t id_
ID of this node
int last_upd_origin_time_
Origin time of last update
int last_upd_seqnum_
Seqnum of last upd; used to distinguish
double last_update_rcvd_
different messages originated at same time Time at which last update received
int level_
level of the child node
LMAddrs* lmaddr_
Landmark addresses of this node
LMNode* next_
nsaddr_t next_hop_
Next hop to reach this node
int num_children_
Number of children that this node has
int num_hops_
number of hops away
compr_taglist* tag_list_
Tag advertisements of this node

Public Methods

void copy_tag_list(compr_taglist *taglist)
LMNode(nsaddr_t id, nsaddr_t next_hop, int num_hops, int level, int num_children, int energy, int origin_time, double update_time)
~LMNode()

Private Fields

friend class LandmarkAgent
friend class ParentChildrenList
friend class PromotionTimer

Documentation

friend class ParentChildrenList

friend class LandmarkAgent

friend class PromotionTimer

LMNode(nsaddr_t id, nsaddr_t next_hop, int num_hops, int level, int num_children, int energy, int origin_time, double update_time)

~LMNode()

nsaddr_t id_
ID of this node

LMAddrs* lmaddr_
Landmark addresses of this node

nsaddr_t next_hop_
Next hop to reach this node

int child_flag_
indicates whether this node is a child

int num_hops_
number of hops away

int level_
level of the child node

int num_children_
Number of children that this node has

int energy_
Energy reserves of the child node

int last_upd_origin_time_
Origin time of last update

int last_upd_seqnum_
Seqnum of last upd; used to distinguish

double last_update_rcvd_
different messages originated at same time Time at which last update received

compr_taglist* tag_list_
Tag advertisements of this node

LMNode* next_

void copy_tag_list(compr_taglist *taglist)


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de