Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uchicago.src.sim.engine
Class ThreadedAction

    java.lang.Object
      uchicago.src.sim.engine.BasicAction
          uchicago.src.sim.engine.ThreadedAction

    public class ThreadedAction

extends BasicAction

A wrapper that executes BasicActions within a Thread.

Version:
  $Revision: 1.5 $ $Date: 2004/11/03 19:50:57 $

Field Summary

Fields inherited from class uchicago.src.sim.engine.BasicAction
`INTERVAL_UPDATER, ONE_TIME_UPDATER, updater`

Constructor Summary
`ThreadedAction(BasicAction action, double duration)`

Method Summary
`void` | `done()`
`void` | `execute()` Executes this BasicAction.
`boolean` | `isDone()`

Methods inherited from class uchicago.src.sim.engine.BasicAction
`addToGroup, getIntervalTime, getName, getNextTime, reSchedule, setIntervalTime, setName, setNextTime`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ThreadedAction

    public ThreadedAction(BasicAction action,
                          double duration)

Method Detail

### done

    public void done()

### isDone

    public boolean isDone()

### execute

    public void execute()

  Description copied from class: `BasicAction`
  Executes this BasicAction. Typically invokes a Method on some Object.

  Specified by:
    `execute` in class `BasicAction`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD