stella.net.tpl
Class TplDisconnect

java.lang.Object
  extended by stella.net.tpl.TplCommand
      extended by stella.net.tpl.TplDisconnect

public class TplDisconnect
extends TplCommand

The abort and kill commands. Only difference is the constructing string.


Field Summary
static String DISCONNECT
          The type.
 
Fields inherited from class stella.net.tpl.TplCommand
ABORTED, ABORTEDBY, BUSY, COMPLETE, DENIED, DIMENSION, ERROR, FAILED, IDBUSY, INVALID, LOCKED, NOTRUNNING, OK, OVERRUN, RANGE, SYNTAX, TIMEOUT, TOOMANY, TYPE, UNKNOWN
 
Constructor Summary
TplDisconnect(int id)
          Constructs a new get command specifiying the object to retrieve.
 
Method Summary
 String getCommandLead()
          Returns the query string.
 String toString()
          Returns the string representation of the command.
 
Methods inherited from class stella.net.tpl.TplCommand
commenceCommand, getCommencedWhen, getID, getInfo, getState, hashCode, isAcknowledged, isCompleted, isSending, parseTplEvent, setInfo, setState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DISCONNECT

public static final String DISCONNECT
The type.

See Also:
Constant Field Values
Constructor Detail

TplDisconnect

public TplDisconnect(int id)
Constructs a new get command specifiying the object to retrieve.

Method Detail

toString

public String toString()
Returns the string representation of the command. The TplCommand toString method is overridden, because disconnect commenced without command ID.

Overrides:
toString in class TplCommand

getCommandLead

public String getCommandLead()
Returns the query string. This is the string the command has been constructed with.

Specified by:
getCommandLead in class TplCommand