All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class oplan.acp3.TrivialProcessModel

java.lang.Object
   |
   +----oplan.acp3.ProcessModel
           |
           +----oplan.acp3.TrivialProcessModel

public class TrivialProcessModel
extends ProcessModel
A very simple ProcessModel class for debugging.


Variable Index

 o viewer

Constructor Index

 o TrivialProcessModel()

Method Index

 o finishAction(String, int)
Called by a watcher when it detects that an action has finished.
 o finishAction(String, int, int)
Called by a watcher when it detects that an action has finished.
 o note(String)
 o reset()
Remove all COAs, their associated actions, and all current state information.
 o sendFullStateDescription()
Send the viewer a complete state description, rather than a delta.
 o setViewer(ProcessViewer)
Install a viewer that will be sent status information when changes occur.
 o startAction(String, int)
Called by a watcher when it detects that an action has started.
 o startAction(String, int, int)
Called by a watcher when it detects that an action has started.

Variables

 o viewer
 ProcessViewer viewer

Constructors

 o TrivialProcessModel
 public TrivialProcessModel()

Methods

 o setViewer
 public synchronized void setViewer(ProcessViewer viewer)
Install a viewer that will be sent status information when changes occur.

Overrides:
setViewer in class ProcessModel
 o reset
 public synchronized void reset()
Remove all COAs, their associated actions, and all current state information.

Overrides:
reset in class ProcessModel
 o sendFullStateDescription
 public synchronized void sendFullStateDescription()
Send the viewer a complete state description, rather than a delta.

Overrides:
sendFullStateDescription in class ProcessModel
 o startAction
 public void startAction(String action,
                         int coa)
Called by a watcher when it detects that an action has started.

Overrides:
startAction in class ProcessModel
 o startAction
 public void startAction(String action,
                         int coa,
                         int level)
Called by a watcher when it detects that an action has started.

Overrides:
startAction in class ProcessModel
 o finishAction
 public void finishAction(String action,
                          int coa)
Called by a watcher when it detects that an action has finished.

Overrides:
finishAction in class ProcessModel
 o finishAction
 public void finishAction(String action,
                          int coa,
                          int level)
Called by a watcher when it detects that an action has finished.

Overrides:
finishAction in class ProcessModel
 o note
 protected void note(String message)

All Packages  Class Hierarchy  This Package  Previous  Next  Index