urv.olsr.data.routing
Class RoutingTableEntry
java.lang.Object
urv.olsr.data.routing.RoutingTableEntry
public class RoutingTableEntry
- extends java.lang.Object
Data unit to store the route between to neighbor nodes.
- Author:
- Marcel Arrufat Arias
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoutingTableEntry
public RoutingTableEntry()
RoutingTableEntry
public RoutingTableEntry(OLSRNode destAddr,
OLSRNode nextAddr,
int hops)
- Parameters:
destAddr
- nextAddr
- hops
-
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
getDestAddr
public OLSRNode getDestAddr()
- Returns:
- Returns the destAddr.
getHops
public int getHops()
- Returns:
- Returns the hops.
getNextAddr
public OLSRNode getNextAddr()
- Returns:
- Returns the nextAddr.