stella.command
Class CloseSocket

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.CloseSocket
All Implemented Interfaces:
Serializable

public class CloseSocket
extends SimpleCommand

The close socket command. It takes no command line and should be understood by each socket-based server. The server closes its socket as soon as he has sent the final done message. This allows the client, in turn, to also close its socket.

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
CloseSocket(Object src)
          Constructs a abort adapter telescope, grabbing the type from the class name and setting the command time to the current system time.
CloseSocket(Object src, String type, long time)
          Construct a fully qualified open roof command.
 
Method Summary
 
Methods inherited from class stella.command.SimpleCommand
getLine, parseLine
 
Methods inherited from class stella.CommandEvent
classNameToTemplate, createCommand, createCommand, createJCommand, extractType, getExpectedAcknowledgeNumber, 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

CloseSocket

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


CloseSocket

public CloseSocket(Object src,
                   String type,
                   long time)
Construct a fully qualified open roof command.