|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.sun.spot.peripheral.radio.mhrp.aodv.request.RequestTableCleaner
public class RequestTableCleaner
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
RequestTableCleaner(RequestTable requestTable)
This thread is responsible for calling the clean table method() of the request table all Constants.REQUEST_TABLE_CLEANER_SLEEP_TIME miliseconds (in the current implementation this is 8000 milisecs |
|
| Method Summary | |
|---|---|
void |
run()
If this thread was constructed using a separate Runnable run object, then that
Runnable object's run method is called;
otherwise, this method does nothing and returns. |
void |
stopThread()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, currentThread, getName, getPriority, interrupt, isAlive, join, setPriority, sleep, start, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RequestTableCleaner(RequestTable requestTable)
| Method Detail |
|---|
public void run()
ThreadRunnable run object, then that
Runnable object's run method is called;
otherwise, this method does nothing and returns.
Subclasses of Thread should override this method.
run in interface Runnablerun in class ThreadThread.start(),
Runnable.run()public void stopThread()
|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||