org.jactr.tools.async.message.event.state
Class RuntimeStateEvent
java.lang.Object
org.jactr.tools.async.message.BaseMessage
org.jactr.tools.async.message.event.state.RuntimeStateEvent
- All Implemented Interfaces:
- java.io.Serializable, IEvent, IRuntimeStateEvent, IStateEvent, IMessage
public class RuntimeStateEvent
- extends BaseMessage
- implements IRuntimeStateEvent, java.io.Serializable
- Author:
- developer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jactr.tools.async.message.IMessage |
getID |
RuntimeStateEvent
public RuntimeStateEvent(IStateEvent.State state,
double simulationTime)
RuntimeStateEvent
public RuntimeStateEvent(java.util.Collection<org.jactr.core.model.IModel> models,
double simulationTime)
RuntimeStateEvent
public RuntimeStateEvent(java.lang.Exception exception,
double simulationTime)
getState
public IStateEvent.State getState()
- Specified by:
getState in interface IStateEvent
getException
public java.lang.String getException()
- Specified by:
getException in interface IRuntimeStateEvent
getModelNames
public java.util.Collection<java.lang.String> getModelNames()
- Description copied from interface:
IRuntimeStateEvent
- valid for started events only
- Specified by:
getModelNames in interface IRuntimeStateEvent
- Returns:
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getSimulationTime
public double getSimulationTime()
- Specified by:
getSimulationTime in interface IStateEvent
- See Also:
org.jactr.tools.async.message.command.state.IStateCommand#getSimulationTime()
getSystemTime
public long getSystemTime()
- Specified by:
getSystemTime in interface IStateEvent
- See Also:
org.jactr.tools.async.message.command.state.IStateCommand#getSystemTime()