uk.ac.man.cs.rainbow.simulator
Interface Scheduler.ExternalExecutionServer

Enclosing class:
Scheduler

public static interface Scheduler.ExternalExecutionServer

Marker for classes that handle external executions.

Objects that handle external execution for a simulation must implement this interface.

See Also:
Scheduler.setExternalExecutionServer(Scheduler.ExternalExecutionServer), RASM.TclExec

Method Summary
 String executeExternal(String externalCommand)
          Execute the external command specified.
 

Method Detail

executeExternal

public String executeExternal(String externalCommand)
                       throws Exception
Execute the external command specified.
Parameters:
externalCommand - Identifies which external command to perform. The meaning of the string is not defined by this interface.
Returns:
A string containing a data value, or an empty string or null.
Throws:
Exception - Many, many things can go wrong during an external execution...