|
SunSPOT API V5.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.lqrp.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. |
int |
lowLQlinkCount
number of low quality hops to the destination |
long |
nextHopMACAddress
address of next hop along this route |
double |
routeCost
LQRP costing metric |
Vector |
routeUsers
list of those actively using this route entry |
int |
sequenceNumber
LQRP 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 double routeCost
public int lowLQlinkCount
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 V5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |