frysk.proc.live
Class LinuxPtraceProcState.Attaching

java.lang.Object
  extended by frysk.proc.live.LinuxPtraceProcState.Attaching
Enclosing class:
LinuxPtraceProcState

private static class LinuxPtraceProcState.Attaching
extends Object

A process is being attached, this is broken down into sub-states.


Nested Class Summary
private static class LinuxPtraceProcState.Attaching.ToMainTask
          In the process of attaching, the main task has been sent an attach request.
private static class LinuxPtraceProcState.Attaching.ToOtherTasks
          In the process of attaching, the main task is attached, now waiting for the remaining tasks to indicate they, too, have attached (or at least processed the attach request).
 
Constructor Summary
private LinuxPtraceProcState.Attaching()
           
 
Method Summary
private static LinuxPtraceProcState allAttached(LinuxPtraceProc proc)
          All tasks attached, set them running and notify any interested parties.
(package private) static LinuxPtraceProcState initialState(LinuxPtraceProc proc, Observation observation)
          The initial attaching state, find the main task and tell it to attach.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinuxPtraceProcState.Attaching

private LinuxPtraceProcState.Attaching()
Method Detail

initialState

static LinuxPtraceProcState initialState(LinuxPtraceProc proc,
                                         Observation observation)
The initial attaching state, find the main task and tell it to attach.


allAttached

private static LinuxPtraceProcState allAttached(LinuxPtraceProc proc)
All tasks attached, set them running and notify any interested parties.