Main Page   Packages   Class Hierarchy   Compound List   File List   Compound Members  

RIPTableElement Class Reference

List of all members.

Public Methods

 RIPTableElement (Node destination_node, Node next_node, float cost)

Private Attributes

Node next_node
Node destination_node
float cost
int route_timeout
int garbage_timeout
boolean route_change_flag

Detailed Description

Table element for RIPTable.
Author(s):
Tomislav Petkoviæ

Definition at line 18 of file RIPTableElement.java.


Constructor & Destructor Documentation

RIPTableElement::RIPTableElement ( Node destination_node,
Node next_node,
float cost ) [inline]
 

Default constructor.

Parameters:
destination_node   Reference of destination node or network.
next_node   Reference of next node along a path to destination.
cost   Cost of a route.

Definition at line 52 of file RIPTableElement.java.

00053     {
00054         this.destination_node = destination_node;
00055         this.next_node = next_node;
00056         this.cost = cost;
00057         route_timeout = 5;
00058         garbage_timeout = 5;
00059         route_change_flag = true;
00060     }


Member Data Documentation

float RIPTableElement::cost [private]
 

Route cost. 16 is infinity.

Definition at line 28 of file RIPTableElement.java.

Node RIPTableElement::destination_node [private]
 

Destination node (or network).

Definition at line 25 of file RIPTableElement.java.

int RIPTableElement::garbage_timeout [private]
 

Garbage collector timeout. When the route becomes invalid, table entry is retained for defined amounot of time (because all neighbourind nodes must be informed of topology change).

Definition at line 41 of file RIPTableElement.java.

Node RIPTableElement::next_node [private]
 

Next node for route to destination_node.

Definition at line 22 of file RIPTableElement.java.

boolean RIPTableElement::route_change_flag [private]
 

Route change flag.

Definition at line 44 of file RIPTableElement.java.

int RIPTableElement::route_timeout [private]
 

Timer for route expiration. When this timer hits zero, the route is no longer valid, but the table entry is retained.

Definition at line 34 of file RIPTableElement.java.


The documentation for this class was generated from the following file:
Generated at Thu Jun 28 03:04:24 2001 for Cyclops Network Simulator by doxygen1.2.7 written by Dimitri van Heesch, © 1997-2001