Package ffx.ui.commands
Class SimulationMessage
java.lang.Object
ffx.ui.commands.SimulationMessage
- All Implemented Interfaces:
 Serializable
The SimulationMessage class is used to pass simple messages between an FFXServer and its
 FFXClient(s).
- Author:
 - Michael J. Schnieders
 - See Also:
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintGetter for the fieldmessage.intgetStep()Getter for the fieldstep.doublegetTime()Getter for the fieldtime.intgetType()Getter for the fieldtype.voidprint()printvoidsetMessage(int m) Setter for the fieldmessage.voidsetStep(int s) Setter for the fieldstep.voidsetTime(double t) Setter for the fieldtime.voidsetType(int t) Setter for the fieldtype.toString()toString 
- 
Field Details
- 
SYSTEM
public static int SYSTEMConstantSYSTEM=0 - 
UPDATE
public static int UPDATEConstantUPDATE=1 - 
CLOSING
public static int CLOSINGConstantCLOSING=2 - 
OK
public static int OKConstantOK=3 
 - 
 - 
Constructor Details
- 
SimulationMessage
public SimulationMessage(int m) Constructor for SimulationMessage.- Parameters:
 m- a int.
 
 - 
 - 
Method Details
- 
getMessage
public int getMessage()Getter for the fieldmessage.- Returns:
 - a int.
 
 - 
setMessage
public void setMessage(int m) Setter for the fieldmessage.- Parameters:
 m- a int.
 - 
getStep
public int getStep()Getter for the fieldstep.- Returns:
 - a int.
 
 - 
setStep
public void setStep(int s) Setter for the fieldstep.- Parameters:
 s- a int.
 - 
getTime
public double getTime()Getter for the fieldtime.- Returns:
 - a double.
 
 - 
setTime
public void setTime(double t) Setter for the fieldtime.- Parameters:
 t- a double.
 - 
getType
public int getType()Getter for the fieldtype.- Returns:
 - a int.
 
 - 
setType
public void setType(int t) Setter for the fieldtype.- Parameters:
 t- a int.
 - 
print
public void print()print - 
toString
toString 
 -