jsim.jmessage
Class Instruct

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

public class Instruct
extends Message

This class contains data for the Instruct event.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jsim.jmessage.Message
actionType
 
Constructor Summary
Instruct(java.lang.String actionType, java.lang.Integer scenarioID)
          Constructs an Instruct message by actionType and scenarioID.
 
Method Summary
 java.lang.Integer getScenarioID()
          Returns the ID of the scenario.
 
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

Instruct

public Instruct(java.lang.String actionType,
                java.lang.Integer scenarioID)
Constructs an Instruct message by actionType and scenarioID.

Parameters:
actionType - Type of the message
scenarioID - ID for the scenario
Method Detail

getScenarioID

public java.lang.Integer getScenarioID()
Returns the ID of the scenario.

Parameters:
Integer - The scenario ID