Boeing Simulation 3.1 API Specification

util
Interface Ceaseable

All Known Implementing Classes:
RTWorkerThread, WorkerThread

public interface Ceaseable

Ceasable.java An interface for Thread objects that can be stopped using the cease method.

The cease method allows objects to stop currently running Threads without having determing which type of method to call.

Version:
$Revision: 1.4 $
Author:
James Brodman
, David Jurgens
See Also:
WorkerThread, RTWorkerThread

Method Summary
 void cease()
          Stops the execution of the Ceaseable.
 void join()
          Waits for this Ceasible to finish its execution and then returns.
 

Method Detail

cease

public void cease()
Stops the execution of the Ceaseable. Objects implementing this method shouldensure the invariant that no additional execution will take place upon this method returning.


join

public void join()
          throws InterruptedException
Waits for this Ceasible to finish its execution and then returns.

InterruptedException

Boeing Simulation 3.1 API Specification

To submit a bug or feature email the author of that class. Funding for this research was provided by Boeing and DARPA.