SunSPOT API V5.0


com.sun.spot.peripheral.radio.mhrp.aodv.request
Class RequestEntry

java.lang.Object
  extended by 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

Field Summary
 boolean activityFlag
           
 RouteEventClient client
           
 long expiryTime
           
 Long key
           
 Long originatorMACAddress
           
 int requestID
           
 Object uniqueKey
           
 
Constructor Summary
RequestEntry()
           
 
Method Summary
 int compare(Object object)
          compares to request entries
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

RequestEntry

public RequestEntry()
Method Detail

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

SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.