frysk.stepping
Class InstructionStepState

java.lang.Object
  extended by frysk.stepping.State
      extended by frysk.stepping.InstructionStepState

public class InstructionStepState
extends State


Constructor Summary
InstructionStepState(Task task, boolean isLine)
           
 
Method Summary
 State handleUpdate(TaskStepEngine tse)
          When the instruction observer from SteppingEngine returns, a single step has been performed.
 boolean isAlive()
          Returns whether or not this State a Task which has just died.
 boolean isStopped()
          Returns whether or not this State represents a stopped Task.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstructionStepState

public InstructionStepState(Task task,
                            boolean isLine)
Method Detail

handleUpdate

public State handleUpdate(TaskStepEngine tse)
When the instruction observer from SteppingEngine returns, a single step has been performed. All that is left to do is to reset the State for this Task back to a StoppedState.

Specified by:
handleUpdate in class State
Parameters:
tse - The TaskStepEngine for this State.
Returns:
new StoppedState

isStopped

public boolean isStopped()
Description copied from class: State
Returns whether or not this State represents a stopped Task.

Specified by:
isStopped in class State
Returns:
true If the Task is stopped

isAlive

public boolean isAlive()
Description copied from class: State
Returns whether or not this State a Task which has just died.

Specified by:
isAlive in class State
Returns:
true If the Task is alive