jsim.jmessage
Class Inject

java.lang.Object
  extended by jsim.jmessage.Message
      extended by jsim.jmessage.Inject
All Implemented Interfaces:
java.io.Serializable

public class Inject
extends Message

This class contains data for the Inject event.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jsim.jmessage.Message
actionType
 
Constructor Summary
Inject(java.lang.String actionType, double timeStamp)
          Constructs an Inject message by actionType and timeStamp
 
Method Summary
 double getTimeStamp()
          Returns the time stamp
 
Methods inherited from class jsim.jmessage.Message
getActionType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Inject

public Inject(java.lang.String actionType,
              double timeStamp)
Constructs an Inject message by actionType and timeStamp

Parameters:
actionType - Type of the message
timeStamp - Time stamp
Method Detail

getTimeStamp

public double getTimeStamp()
Returns the time stamp

Returns:
double The time stamp