JIMSCore
Class CommandHistory

java.lang.Object
  |
  +--JIMSCore.Command
        |
        +--JIMSCore.CommandHistory

public class CommandHistory
extends Command

This is the CommandHistory class.

Author:
Steve Lewis

Field Summary
static java.lang.String ERR_HISTORY_LOG
           
static java.lang.String ERR_HISTORY_WRITE
           
static java.lang.String ERR_NO_CLEAR
           
private  java.lang.StringBuffer sbHistoryLog
           
private  Simulator simulator
           
 
Fields inherited from class JIMSCore.Command
DONE, RESPONSE, stSource
 
Constructor Summary
CommandHistory(java.util.StringTokenizer st, Simulator simulator)
           
 
Method Summary
 void execute(CommandResultBuffer crb)
           
 java.lang.StringBuffer sbGetHistoryLog()
           
 
Methods inherited from class JIMSCore.Command
iaGetMemoryRangeOrValue, iaGetRegisterRangeOrValue, iGetNumber, iGetRegisterIndex, nextToken
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

ERR_NO_CLEAR

public static final java.lang.String ERR_NO_CLEAR

ERR_HISTORY_LOG

public static final java.lang.String ERR_HISTORY_LOG

ERR_HISTORY_WRITE

public static final java.lang.String ERR_HISTORY_WRITE

sbHistoryLog

private java.lang.StringBuffer sbHistoryLog

simulator

private Simulator simulator
Constructor Detail

CommandHistory

public CommandHistory(java.util.StringTokenizer st,
                      Simulator simulator)
Method Detail

sbGetHistoryLog

public java.lang.StringBuffer sbGetHistoryLog()

execute

public void execute(CommandResultBuffer crb)
             throws InvalidCommandUseException
Overrides:
execute in class Command