|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object urv.olsr.data.routing.RoutingTable
public class RoutingTable
Contains routing information. It defines which is the next intermediate node A that should receive the message when we want to deliver a message to node B
Constructor Summary | |
---|---|
RoutingTable(OLSRNode localNode)
|
Method Summary | |
---|---|
void |
addRoutingTableEntry(OLSRNode destAddr,
OLSRNode nextAddr,
int hops)
Adds a new entry to the routing table |
void |
clear()
Empties the routing table |
RoutingTableEntry |
getRoutingTableEntry(OLSRNode node)
Obtains an entry from the routing table |
void |
setCopyOfTable(RoutingTable tmpRoutingTable)
Copies an existing routing table, which is calculated in another thread, to the current table |
java.lang.String |
toString()
|
void |
updateBwOf(OLSRNode node)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RoutingTable(OLSRNode localNode)
Method Detail |
---|
public java.lang.String toString()
toString
in interface Loggable
toString
in class java.lang.Object
public void updateBwOf(OLSRNode node)
updateBwOf
in interface BandwidthUpdatable
public void addRoutingTableEntry(OLSRNode destAddr, OLSRNode nextAddr, int hops)
destAddr
- nextAddr
- hops
- public void clear()
public RoutingTableEntry getRoutingTableEntry(OLSRNode node)
node
-
public void setCopyOfTable(RoutingTable tmpRoutingTable)
tmpRoutingTable
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |