unsw.cse.mica.runner
Class BlackboardHandler
java.lang.Object
java.util.Observable
unsw.cse.mica.runner.ProcessHandler
unsw.cse.mica.runner.BlackboardHandler
- All Implemented Interfaces:
- java.util.Observer
public class BlackboardHandler
- extends ProcessHandler
The class for managing the blackboard child process.
- Author:
- jhw
Fields inherited from class unsw.cse.mica.runner.ProcessHandler |
PROCESS_MESSAGE_INITIALISED, PROCESS_MESSAGE_INITIALISING, PROCESS_MESSAGE_PREFIX, PROCESS_MESSAGE_TERMINATED, PROCESS_MESSAGE_TERMINATING, STATE_INITIALISING, STATE_PENDING, STATE_READY, STATE_RUNNING, STATE_TERMINATING, UPDATE_RESTART, UPDATE_STATE |
Method Summary |
boolean |
getAutoDepend()
|
static void |
main(java.lang.String[] args)
To use as a standalone wrapper:
java BlackboardHandler [params]
where [params] is zero or more of:
-debug=DEBUG (where DEBUG is either a number or a debug level name)
-any other parameters supported by XMLBlackboard.main |
boolean |
startProcess()
Get the child process up and running. |
boolean |
terminateAllowed()
|
Methods inherited from class unsw.cse.mica.runner.ProcessHandler |
addRequired, getName, getOutputStream, getParentFrame, getState, kill, setChangedNotify, setOutputStream, setParentFrame, start, terminate, toString, update |
Methods inherited from class java.util.Observable |
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BlackboardHandler
public BlackboardHandler(BlackboardSettings settings)
getAutoDepend
public boolean getAutoDepend()
terminateAllowed
public boolean terminateAllowed()
startProcess
public boolean startProcess()
- Description copied from class:
ProcessHandler
- Get the child process up and running.
- Returns:
- true on success, false otherwise.
main
public static void main(java.lang.String[] args)
- To use as a standalone wrapper:
java BlackboardHandler [params]
where [params] is zero or more of:
-debug=DEBUG (where DEBUG is either a number or a debug level name)
-any other parameters supported by XMLBlackboard.main