|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.DrclObj
drcl.comp.Component
drcl.ruv.System
The entry class of the DRCL RUntime Virtual (RUV) system. It will set up a terminal along with a shell and several system "directories":
System object itself.
SystemMonitor).
Dterm and ShellTcl will be used to start the system.
The complete usage is as follows:drcl.ruv.System ?-auenh? ?-s <shell_class>? ?-t <terminal_class>? ?<init_script>?
-a use the RUV system as part of other programs (e.g. GUI), where "exit" or
"quit" only terminates the terminal instead of the Java program.
-u uninteractive execution; no terminal is created.
-e end the Java program when there is no activity in the system; used with the "-u" option.
-h display help.
-n no terminal display.
| Nested Class Summary |
| Nested classes inherited from class drcl.comp.Component |
Component.Locks |
| Field Summary |
| Constructor Summary | |
System()
|
|
System(java.lang.String id_)
|
|
| Method Summary | |
void |
_newTerminal()
Creates a new terminal in the RUV system. |
void |
_newTerminal(java.lang.String initScript_,
java.lang.String[] args_)
Creates a new terminal in the RUV system and executes the script in the terminal. |
void |
addTerminal(Term terminal_,
Shell shell_,
java.lang.String initScript_,
java.lang.String[] args_)
|
static void |
cleanUpSystem()
Removes all the components, except system objects, in the RUV system. |
static Term |
getTerminal(Shell shell_)
|
java.lang.String |
info()
Returns information regarding this component. |
static void |
main(java.lang.String[] args)
|
static void |
newTerminal()
Creates a new terminal in the RUV system. |
static void |
newTerminal(java.lang.String initScript_,
java.lang.String[] args_)
Creates a new terminal in the RUV system and executes the script in the terminal. |
static void |
resetSystem()
Resets all the components in the RUV system. |
| Methods inherited from class drcl.DrclObj |
clone |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public System()
public System(java.lang.String id_)
| Method Detail |
public static void newTerminal()
public static void newTerminal(java.lang.String initScript_,
java.lang.String[] args_)
public static void resetSystem()
public static void cleanUpSystem()
public static void main(java.lang.String[] args)
public java.lang.String info()
Component
info in class Componentpublic void _newTerminal()
public void _newTerminal(java.lang.String initScript_,
java.lang.String[] args_)
public void addTerminal(Term terminal_,
Shell shell_,
java.lang.String initScript_,
java.lang.String[] args_)
public static Term getTerminal(Shell shell_)
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||