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


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
FusionService.FusionThread(ThreadGroup group, String name)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FusionService.FusionThread

public FusionService.FusionThread(ThreadGroup group,
                                  String name)
Method Detail

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