uk.ac.man.cs.rainbow.simulator
Class RASM.TclExec
java.lang.Object
|
+--uk.ac.man.cs.rainbow.simulator.Instruction
|
+--uk.ac.man.cs.rainbow.simulator.RASM.TclExec
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- RASM
Deprecated. Use TclExec
- public static class RASM.TclExec
- extends Instruction
Execute an external command.
Executes string as a Tcl command in the host system,
producing either a true value and a data value (if a
data value is the result of the script) or a false value
with no data value if the result of the script is an
empty string. All other script results cause exceptions out to
the hosting simulation environment.
This instruction is intended for use in the implementation of
source nodes, and should not be generated from any
ordinary Yellow or Green source code, and the
meaning of the string argument is defined by the
handling host environment.
string data true | (with
datavalue-string result) |
string false
| (with empty-string result) |
- See Also:
Scheduler.ExternalExecutionServer
,
Scheduler.setExternalExecutionServer(Scheduler.ExternalExecutionServer)
, Serialized Form
RASM.TclExec
public RASM.TclExec()
- Deprecated.
RASM.TclExec
public RASM.TclExec(RASMCode code)
- Deprecated.
toString
public String toString()
- Deprecated.
- Overrides:
toString
in class Object
execute
protected boolean execute(RASMThread thread)
throws RainbowException
- Deprecated.
- Description copied from class:
Instruction
- Make this instruction execute in the given context.
- Overrides:
execute
in class Instruction
- Following copied from class:
uk.ac.man.cs.rainbow.simulator.Instruction
- Throws:
RainbowException
- All sorts of things can go wrong during execution...