frysk.testbed
Class DaemonBlockedAtEntry

java.lang.Object
  extended by frysk.testbed.Offspring
      extended by frysk.testbed.DaemonBlockedAtEntry

public class DaemonBlockedAtEntry
extends Offspring

Creates an attached process halted at it's entry point address (i.e., the program's first instruction).


Nested Class Summary
private static class DaemonBlockedAtEntry.ExecBlockingObserver
           
 
Field Summary
private  TaskObserver.Execed execBlockingObserver
           
private static Log fine
           
private  Task mainTask
           
 
Constructor Summary
DaemonBlockedAtEntry(File program)
          Create an attached process blocked at it's entry-point (i.e., just after the exec).
DaemonBlockedAtEntry(String program)
           
DaemonBlockedAtEntry(String[] argv)
          Create an attached process blocked at it's entry-point (i.e., just after the exec).
 
Method Summary
 Task getMainTask()
           
 ProcessIdentifier getPid()
          Return the process's system identifier.
 void requestRemoveBlock()
           
 void requestUnblock()
          Resume the attached process.
 
Methods inherited from class frysk.testbed.Offspring
assertIs, assertRunToFindProc, assertRunUntil, assertSendStop, findTaskUsingRefresh, kill, signal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fine

private static final Log fine

mainTask

private final Task mainTask

execBlockingObserver

private final TaskObserver.Execed execBlockingObserver
Constructor Detail

DaemonBlockedAtEntry

public DaemonBlockedAtEntry(String[] argv)
Create an attached process blocked at it's entry-point (i.e., just after the exec).


DaemonBlockedAtEntry

public DaemonBlockedAtEntry(File program)
Create an attached process blocked at it's entry-point (i.e., just after the exec).


DaemonBlockedAtEntry

public DaemonBlockedAtEntry(String program)
Method Detail

getPid

public ProcessIdentifier getPid()
Description copied from class: Offspring
Return the process's system identifier.

Specified by:
getPid in class Offspring

requestUnblock

public void requestUnblock()
Resume the attached process.


requestRemoveBlock

public void requestRemoveBlock()

getMainTask

public Task getMainTask()