org.jactr.core.queue.timedevents
Class RunnableTimedEvent
java.lang.Object
org.jactr.core.queue.timedevents.AbstractTimedEvent
org.jactr.core.queue.timedevents.RunnableTimedEvent
- All Implemented Interfaces:
- ITimedEvent
public class RunnableTimedEvent
- extends AbstractTimedEvent
|
Method Summary |
void |
abort()
called when the event is to be aborted |
void |
fire(double currentTime)
called when this event should be fired.. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RunnableTimedEvent
public RunnableTimedEvent(double fireAt,
java.lang.Runnable onFire)
RunnableTimedEvent
public RunnableTimedEvent(double fireAt,
java.lang.Runnable onFire,
java.lang.Runnable onAbort)
fire
public void fire(double currentTime)
- Description copied from class:
AbstractTimedEvent
- called when this event should be fired..
- Specified by:
fire in interface ITimedEvent- Overrides:
fire in class AbstractTimedEvent
- Parameters:
currentTime - Description of the Parameter
abort
public void abort()
- Description copied from class:
AbstractTimedEvent
- called when the event is to be aborted
- Specified by:
abort in interface ITimedEvent- Overrides:
abort in class AbstractTimedEvent