stella.command
Class ParkEnvironment
java.lang.Object
java.util.EventObject
util.rmi.RmiEvent
stella.MessageEvent
stella.CommandEvent
stella.command.SimpleCommand
stella.command.ParkEnvironment
- All Implemented Interfaces:
- Serializable, Generic, Parking, EnvironmentCommand
public class ParkEnvironment
- extends SimpleCommand
- implements EnvironmentCommand, Parking
The abort command for the telescope.
- See Also:
- Serialized Form
|
Constructor Summary |
ParkEnvironment(Object src)
Constructs a abort adapter telescope, grabbing the type from the class
name and setting the command time to the current system time. |
ParkEnvironment(Object src,
String type,
long time)
Construct a fully qualified abort telescope command. |
| Methods inherited from class stella.MessageEvent |
checkType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toString |
ParkEnvironment
public ParkEnvironment(Object src)
- Constructs a abort adapter telescope, grabbing the type from the class
name and setting the command time to the current system time.
ParkEnvironment
public ParkEnvironment(Object src,
String type,
long time)
- Construct a fully qualified abort telescope command.
getExpectedAcknowledgeNumber
public int getExpectedAcknowledgeNumber()
- The normal number of acknowledges following the park environment is two.
- Overrides:
getExpectedAcknowledgeNumber in class CommandEvent
- Returns:
- One.