|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjist.swans.route.RouteAodv.RouteTableEntry
private static class RouteAodv.RouteTableEntry
Information to be stored for each destination in routing table.
Field Summary | |
---|---|
private int |
destSeqNum
Latest known sequence number for destination node. |
private int |
hopCount
Hop count for known route to destination. |
private MacAddress |
nextHop
Next hop address. |
Constructor Summary | |
---|---|
RouteAodv.RouteTableEntry(MacAddress nextHop,
int destSeqNum,
int hopCount)
Constructs a RouteTableEntry object. |
Method Summary | |
---|---|
int |
getDestSeqNum()
Returns latest known sequence number for destination. |
int |
getHopCount()
Returns hop count for route. |
MacAddress |
getNextHop()
Returns next hop address. |
void |
setDestSeqNum(int dsn)
Sets a new latest known sequence number for destination node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private MacAddress nextHop
private int destSeqNum
private int hopCount
Constructor Detail |
---|
public RouteAodv.RouteTableEntry(MacAddress nextHop, int destSeqNum, int hopCount)
nextHop
- next hop addressdestSeqNum
- latest known sequence number of destination nodehopCount
- hop countMethod Detail |
---|
public MacAddress getNextHop()
public int getDestSeqNum()
public int getHopCount()
public void setDestSeqNum(int dsn)
dsn
- sequence number
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |