com.sun.spot.peripheral.radio.mhrp.aodv.request
Class RequestEntry
java.lang.Object
com.sun.spot.peripheral.radio.mhrp.aodv.request.RequestEntry
- All Implemented Interfaces:
- Comparable
public class RequestEntry
- extends Object
- implements Comparable
- Version:
- 0.1
- Author:
- Allen Ajit George
Method Summary |
int |
compare(Object object)
compares to request entries |
key
public Long key
requestID
public int requestID
originatorMACAddress
public Long originatorMACAddress
expiryTime
public long expiryTime
activityFlag
public boolean activityFlag
client
public RouteEventClient client
uniqueKey
public Object uniqueKey
RequestEntry
public RequestEntry()
compare
public int compare(Object object)
- compares to request entries
- Specified by:
compare
in interface Comparable
- Parameters:
object
- entry with which this entry is to be compared
- Returns:
- expiration -1 if the expiry time of this entry is lower than the one
of the one that was passed as argument, 0 if they are equal, 1 if it is greater
Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.