S
- L
- public abstract class AbstractACTREvent<S,L> extends java.lang.Object implements IACTREvent<S,L>
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOGGER
logger definition
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractACTREvent() |
protected |
AbstractACTREvent(S source) |
protected |
AbstractACTREvent(S source,
double simulationTime) |
Modifier and Type | Method and Description |
---|---|
abstract void |
fire(L listener)
dispatch this event to a listener on the provided executor
|
double |
getSimulationTime()
the time this event occured based on the simulation clock
|
S |
getSource()
The source of the event
|
long |
getSystemTime()
the time this event occured based on the system clock
|
protected void |
setSimulationTime(double simulationTime) |
protected void |
setSource(S source) |
protected AbstractACTREvent()
protected AbstractACTREvent(S source)
protected AbstractACTREvent(S source, double simulationTime)
protected void setSource(S source)
protected void setSimulationTime(double simulationTime)
public double getSimulationTime()
IACTREvent
getSimulationTime
in interface IACTREvent<S,L>
public S getSource()
IACTREvent
getSource
in interface IACTREvent<S,L>
public long getSystemTime()
IACTREvent
getSystemTime
in interface IACTREvent<S,L>
public abstract void fire(L listener)
IACTREvent
fire
in interface IACTREvent<S,L>