frysk.gui.monitor.observers
Class TaskForkedObserver

java.lang.Object
  extended by frysk.gui.monitor.GuiObject
      extended by frysk.gui.monitor.observers.ObserverRoot
          extended by frysk.gui.monitor.observers.TaskObserverRoot
              extended by frysk.gui.monitor.observers.TaskForkedObserver
All Implemented Interfaces:
SaveableXXX, Observer, TaskObserver, TaskObserver.Forked

public class TaskForkedObserver
extends TaskObserverRoot
implements TaskObserver.Forked


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
 TaskActionPoint offspringTaskActionPoint
           
 TaskFilterPoint offspringTaskFilterPoint
           
 TaskActionPoint parentTaskActionPoint
           
 TaskFilterPoint parentTaskFilterPoint
           
 
Fields inherited from class frysk.gui.monitor.observers.ObserverRoot
genericActionPoint
 
Fields inherited from class frysk.gui.monitor.GuiObject
propertiesChanged
 
Constructor Summary
TaskForkedObserver()
           
 
Method Summary
 void addedTo(Object observable)
          Acknowledge the request to add this Observer from Object's set of observers was successful.
 void apply(Task task)
           
 void unapply(Task task)
           
 Action updateForkedOffspring(Task task, Task offspring)
          Called when the Task (the offspring) that was created by a fork has stopped at its first instruction.
 Action updateForkedParent(Task task, Task child)
          Called when the Task (the parent) has forked, creating a child Proc containing a single Task (the offspring).
 
Methods inherited from class frysk.gui.monitor.observers.TaskObserverRoot
apply, deletedFrom, unapply
 
Methods inherited from class frysk.gui.monitor.observers.ObserverRoot
addFailed, getActionPoints, getBaseName, getCurrentAction, getCurrentActionCombos, getCurrentFilterCombos, getFilterPoints, getInfo, load, save, setReturnAction
 
Methods inherited from class frysk.gui.monitor.GuiObject
dontSaveObject, doSaveObject, getName, getSummary, getToolTip, setName, setSummay, setToolTip, shouldSaveObject, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface frysk.proc.Observer
addFailed, deletedFrom
 
Methods inherited from interface frysk.gui.monitor.SaveableXXX
dontSaveObject, doSaveObject, shouldSaveObject
 

Field Detail

parentTaskFilterPoint

public TaskFilterPoint parentTaskFilterPoint

offspringTaskFilterPoint

public TaskFilterPoint offspringTaskFilterPoint

parentTaskActionPoint

public TaskActionPoint parentTaskActionPoint

offspringTaskActionPoint

public TaskActionPoint offspringTaskActionPoint
Constructor Detail

TaskForkedObserver

public TaskForkedObserver()
Method Detail

updateForkedParent

public Action updateForkedParent(Task task,
                                 Task child)
Description copied from interface: TaskObserver.Forked
Called when the Task (the parent) has forked, creating a child Proc containing a single Task (the offspring). Return Action.BLOCK if the observer wants the parent task to block.

Specified by:
updateForkedParent in interface TaskObserver.Forked

updateForkedOffspring

public Action updateForkedOffspring(Task task,
                                    Task offspring)
Description copied from interface: TaskObserver.Forked
Called when the Task (the offspring) that was created by a fork has stopped at its first instruction.

Specified by:
updateForkedOffspring in interface TaskObserver.Forked

apply

public void apply(Task task)
Specified by:
apply in class TaskObserverRoot

unapply

public void unapply(Task task)
Specified by:
unapply in class TaskObserverRoot

addedTo

public void addedTo(Object observable)
Description copied from interface: Observer
Acknowledge the request to add this Observer from Object's set of observers was successful.

Specified by:
addedTo in interface Observer
Overrides:
addedTo in class TaskObserverRoot