frysk.proc
Class TestTaskObserverInstructionAndCode.InstructionObserver

java.lang.Object
  extended by frysk.proc.TestTaskObserverInstructionAndCode.TestObserver
      extended by frysk.proc.TestTaskObserverInstructionAndCode.InstructionObserver
All Implemented Interfaces:
Observer, TaskObserver, TaskObserver.Instruction
Enclosing class:
TestTaskObserverInstructionAndCode

static class TestTaskObserverInstructionAndCode.InstructionObserver
extends TestTaskObserverInstructionAndCode.TestObserver
implements TaskObserver.Instruction


Nested Class Summary
 
Nested classes/interfaces inherited from interface frysk.proc.TaskObserver
TaskObserver.Cloned, TaskObserver.Code, TaskObserver.Execed, TaskObserver.Forked, TaskObserver.Instruction, TaskObserver.Signaled, TaskObserver.Syscalls, TaskObserver.Terminated, TaskObserver.Terminating, TaskObserver.Watch
 
Field Summary
private  boolean cont
           
(package private)  long lastAddress
           
private  Task task
           
 
Fields inherited from class frysk.proc.TestTaskObserverInstructionAndCode.TestObserver
added, deleted, hit
 
Constructor Summary
TestTaskObserverInstructionAndCode.InstructionObserver(Task task)
           
 
Method Summary
 void setContinue(boolean cont)
           
 Action updateExecuted(Task task)
          The task has started executing or has executed another instruction.
 
Methods inherited from class frysk.proc.TestTaskObserverInstructionAndCode.TestObserver
addedTo, addFailed, deletedFrom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface frysk.proc.Observer
addedTo, addFailed, deletedFrom
 

Field Detail

task

private final Task task

cont

private boolean cont

lastAddress

long lastAddress
Constructor Detail

TestTaskObserverInstructionAndCode.InstructionObserver

TestTaskObserverInstructionAndCode.InstructionObserver(Task task)
Method Detail

updateExecuted

public Action updateExecuted(Task task)
Description copied from interface: TaskObserver.Instruction
The task has started executing or has executed another instruction. Return Action.BLOCK to block the task's further execution. When Action.CONTINUE is returned this method will be called as soon as one instruction has been executed.

Specified by:
updateExecuted in interface TaskObserver.Instruction

setContinue

public void setContinue(boolean cont)