stella.net.tpl
Class TplAbort

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

public class TplAbort
extends TplCommand

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


Field Summary
static String ABORT
          The abort sub-type.
private  boolean kill
          The requested abort level, kill or abort
static String KILL
          The kill sub-type.
private  int that
          The requested process to be killed.
 
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
TplAbort(int id, boolean killit, int whom)
          Constructs a new get command specifiying the object to retrieve.
 
Method Summary
 String getCommandLead()
          Returns the query string.
 boolean isKill()
          Returns true if this command is a kill command.
 boolean onAll()
          Retruns true if we act on all commands.
 
Methods inherited from class stella.net.tpl.TplCommand
commenceCommand, getCommencedWhen, getID, getInfo, getState, hashCode, isAcknowledged, isCompleted, isSending, parseTplEvent, setInfo, setState, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ABORT

public static final String ABORT
The abort sub-type.

See Also:
Constant Field Values

KILL

public static final String KILL
The kill sub-type.

See Also:
Constant Field Values

kill

private boolean kill
The requested abort level, kill or abort


that

private int that
The requested process to be killed.

Constructor Detail

TplAbort

public TplAbort(int id,
                boolean killit,
                int whom)
Constructs a new get command specifiying the object to retrieve.

Method Detail

getCommandLead

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

Specified by:
getCommandLead in class TplCommand

isKill

public boolean isKill()
Returns true if this command is a kill command.


onAll

public boolean onAll()
Retruns true if we act on all commands.