|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.colorado.cs.ns2.sys.RunCommand
public class RunCommand
This class runs the simulation by providing the TCL script as input to NS2.
| Field Summary | |
|---|---|
private java.lang.String |
stdErr
The outupt captured from standard error. |
private java.lang.String |
stdOut
The output captured from standard output. |
| Constructor Summary | |
|---|---|
RunCommand(java.lang.String command)
One-argument constructor. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String stdOut
private java.lang.String stdErr
| Constructor Detail |
|---|
public RunCommand(java.lang.String command)
Runtime.getRuntime().exec(command).
command - A command to be executed.Runtime
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||