org.jactr.core.runtime.event
Class ACTRRuntimeEvent

java.lang.Object
  extended by org.jactr.core.event.AbstractACTREvent<ACTRRuntime,IACTRRuntimeListener>
      extended by org.jactr.core.runtime.event.ACTRRuntimeEvent
All Implemented Interfaces:
IACTREvent<ACTRRuntime,IACTRRuntimeListener>

public class ACTRRuntimeEvent
extends AbstractACTREvent<ACTRRuntime,IACTRRuntimeListener>


Nested Class Summary
static class ACTRRuntimeEvent.Type
           
 
Constructor Summary
ACTRRuntimeEvent(ACTRRuntimeEvent.Type type)
           
ACTRRuntimeEvent(IModel model, ACTRRuntimeEvent.Type type)
           
ACTRRuntimeEvent(IModel model, ACTRRuntimeEvent.Type type, java.lang.Exception exception)
           
 
Method Summary
 void fire(IACTRRuntimeListener listener)
          dispatch this event to a listener on the provided executor
 java.lang.Exception getException()
           
 IModel getModel()
           
 ACTRRuntimeEvent.Type getType()
           
 
Methods inherited from class org.jactr.core.event.AbstractACTREvent
getSimulationTime, getSource, getSystemTime
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACTRRuntimeEvent

public ACTRRuntimeEvent(IModel model,
                        ACTRRuntimeEvent.Type type)

ACTRRuntimeEvent

public ACTRRuntimeEvent(ACTRRuntimeEvent.Type type)

ACTRRuntimeEvent

public ACTRRuntimeEvent(IModel model,
                        ACTRRuntimeEvent.Type type,
                        java.lang.Exception exception)
Method Detail

getException

public java.lang.Exception getException()

getType

public ACTRRuntimeEvent.Type getType()

getModel

public IModel getModel()

fire

public void fire(IACTRRuntimeListener listener)
Description copied from interface: IACTREvent
dispatch this event to a listener on the provided executor

Specified by:
fire in interface IACTREvent<ACTRRuntime,IACTRRuntimeListener>
Specified by:
fire in class AbstractACTREvent<ACTRRuntime,IACTRRuntimeListener>