|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.spot.peripheral.radio.mhrp.aodv.routing.RoutingEntry
public class RoutingEntry
A single entry in the routing table
Field Summary | |
---|---|
boolean |
activityFlag
is the route currently being used by someone |
long |
expiryTime
timestamp for deleting this route from the table, if unused |
int |
hopCount
number of hops to the destination |
Long |
key
Lookup key for this table. |
Long |
nextHopMACAddress
address of next hop along this route |
int |
routeCost
AODV costing metric |
Vector |
routeUsers
list of those actively using this route entry |
int |
sequenceNumber
AODV sequence number |
Constructor Summary | |
---|---|
RoutingEntry()
constructs a new routing entry |
Method Summary | |
---|---|
int |
compare(Object object)
compares two routing entries |
String |
toString()
create and return a string representation of this object |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Long key
public int sequenceNumber
public Long nextHopMACAddress
public long expiryTime
public int hopCount
public int routeCost
public boolean activityFlag
public Vector routeUsers
Constructor Detail |
---|
public RoutingEntry()
Method Detail |
---|
public int compare(Object object)
compare
in interface Comparable
object
- entry with which this entry is to be compared
public String toString()
toString
in class Object
|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |