com.sun.spot.peripheral.radio.mhrp.aodv.routing
Class RoutingTableCleaner
java.lang.Object
java.lang.Thread
com.sun.spot.peripheral.radio.mhrp.aodv.routing.RoutingTableCleaner
- All Implemented Interfaces:
- Runnable
public class RoutingTableCleaner
- extends Thread
- Version:
- 0.1
- Author:
- Allen Ajit George
Method Summary |
void |
run()
calls the routingTable.cleanTable() method every
Constants.ROUTING_TABLE_CLEANER_SLEEP_TIME. |
Methods inherited from class java.lang.Thread |
activeCount, currentThread, getName, getPriority, interrupt, isAlive, join, setPriority, sleep, start, toString, yield |
RoutingTableCleaner
public RoutingTableCleaner(RoutingTable routingTable)
- constructs a new routing table cleaner
run
public void run()
- calls the routingTable.cleanTable() method every
Constants.ROUTING_TABLE_CLEANER_SLEEP_TIME. This is 8000 milisec in the
current implementation
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
- See Also:
Thread.start()
,
Runnable.run()
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.