stella.command
Class ParkTelescope

java.lang.Object
  extended by java.util.EventObject
      extended by util.rmi.RmiEvent
          extended by stella.MessageEvent
              extended by stella.CommandEvent
                  extended by stella.command.SimpleCommand
                      extended by stella.command.ParkTelescope
All Implemented Interfaces:
Serializable, Generic, Parking, TelescopeCommand

public class ParkTelescope
extends SimpleCommand
implements TelescopeCommand, Parking

The abort command for the telescope.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class stella.CommandEvent
CommandEvent.Create
 
Field Summary
 
Fields inherited from class stella.CommandEvent
COMMANDPACKAGE, JVIEWPACKAGE, TYPESEPARATOR
 
Fields inherited from class stella.MessageEvent
SEPCHAR
 
Fields inherited from class util.rmi.RmiEvent
localHost, sourceName
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ParkTelescope(Object src)
          Constructs a abort adapter telescope, grabbing the type from the class name and setting the command time to the current system time.
ParkTelescope(Object src, String type, long time)
          Construct a fully qualified abort telescope command.
 
Method Summary
 int getExpectedAcknowledgeNumber()
          Returns the number of acknowledge evnets this command is expected to follow.
 
Methods inherited from class stella.command.SimpleCommand
getLine, parseLine
 
Methods inherited from class stella.CommandEvent
classNameToTemplate, createCommand, createCommand, createJCommand, extractType, parseForStrings, templateToClassName
 
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
 
Methods inherited from class util.rmi.RmiEvent
getHost, getSourceName, setSourceName
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParkTelescope

public ParkTelescope(Object src)
Constructs a abort adapter telescope, grabbing the type from the class name and setting the command time to the current system time.


ParkTelescope

public ParkTelescope(Object src,
                     String type,
                     long time)
Construct a fully qualified abort telescope command.

Method Detail

getExpectedAcknowledgeNumber

public int getExpectedAcknowledgeNumber()
Returns the number of acknowledge evnets this command is expected to follow. Used for test case only. If not overriden, this method will return one.

Overrides:
getExpectedAcknowledgeNumber in class CommandEvent
Returns:
One.