public class MoMLSimpleTimeoutApplication extends MoMLSimpleApplication
| Red (eal) |
| Red (cxh) |
_activeCount, _executionFinishedOrError, _manager, _parser, _sawThrowable, _toplevel, _workspace| Constructor and Description |
|---|
MoMLSimpleTimeoutApplication(java.lang.String xmlFileName)
Parse the xml file and run it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
waitForFinish()
Wait for all executing runs to finish or 5 seconds to pass, then return.
|
changeExecuted, changeFailed, cleanup, executionError, executionFinished, main, managerStateChanged, rerunpublic MoMLSimpleTimeoutApplication(java.lang.String xmlFileName)
throws java.lang.Throwable
xmlFileName - A string that refers to an MoML file that contains a Ptolemy
II model. The string should be a relative pathname.java.lang.Throwable - If there was a problem parsing or running the model.public void waitForFinish()
waitForFinish in class MoMLSimpleApplication