public class RuntimeStateEvent extends BaseMessage implements IRuntimeStateEvent, java.io.Serializable
IStateEvent.State
Constructor and Description |
---|
RuntimeStateEvent(java.util.Collection<IModel> models,
double simulationTime) |
RuntimeStateEvent(java.lang.Exception exception,
double simulationTime) |
RuntimeStateEvent(IStateEvent.State state,
double simulationTime) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getException() |
java.util.Collection<java.lang.String> |
getModelNames()
valid for started events only
|
double |
getSimulationTime() |
IStateEvent.State |
getState() |
long |
getSystemTime() |
java.lang.String |
toString() |
getID, getTimestamp
public RuntimeStateEvent(IStateEvent.State state, double simulationTime)
public RuntimeStateEvent(java.util.Collection<IModel> models, double simulationTime)
public RuntimeStateEvent(java.lang.Exception exception, double simulationTime)
public IStateEvent.State getState()
getState
in interface IStateEvent
public java.lang.String getException()
getException
in interface IRuntimeStateEvent
public java.util.Collection<java.lang.String> getModelNames()
IRuntimeStateEvent
getModelNames
in interface IRuntimeStateEvent
public java.lang.String toString()
toString
in class java.lang.Object
public double getSimulationTime()
getSimulationTime
in interface IStateEvent
org.jactr.tools.async.message.command.state.IStateCommand#getSimulationTime()
public long getSystemTime()
getSystemTime
in interface IStateEvent
org.jactr.tools.async.message.command.state.IStateCommand#getSystemTime()