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 |
Definition at line 18 of file RIPTableElement.java.
|
Default constructor.
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 } |
|
Route cost. 16 is infinity. Definition at line 28 of file RIPTableElement.java. |
|
Destination node (or network). Definition at line 25 of file RIPTableElement.java. |
|
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. |
|
Next node for route to destination_node. Definition at line 22 of file RIPTableElement.java. |
|
Route change flag. Definition at line 44 of file RIPTableElement.java. |
|
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. |