uwcse.location
Class FusionService.FusionThread
java.lang.Object
|
+--java.lang.Thread
|
+--uwcse.location.FusionService.FusionThread
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- FusionService.FusionMeasurementThread
- Enclosing class:
- FusionService
- protected abstract class FusionService.FusionThread
- extends Thread
A helper abstract thread class for the FusionService
|
Method Summary |
void |
run()
Run the thread. |
void |
shutdown()
Signal the thread to stop executing when it reaches a graceful
termination point. |
abstract void |
workLoopBody()
Extend this routine to do useful work. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
FusionService.FusionThread
public FusionService.FusionThread(ThreadGroup group,
String name)
shutdown
public void shutdown()
- Signal the thread to stop executing when it reaches a graceful
termination point.
run
public void run()
- Run the thread.
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
workLoopBody
public abstract void workLoopBody()
- Extend this routine to do useful work.
This documentation is for the Location Stack v0.8. The latest distribution, the documentation, and the list of contributors to the Location Stack can always be found at http://portolano.cs.washington.edu/projects/location/
© Copyright 2004 University of Washington CSE