org.objectweb.proactive.ext.scilab
Class SciEngine

java.lang.Object
  extended by org.objectweb.proactive.ext.scilab.SciEngine
All Implemented Interfaces:
java.io.Serializable

public class SciEngine
extends java.lang.Object
implements java.io.Serializable

This class activates a new JVM which wraps the Scilab Engine and forwards the Scilab tasks

See Also:
Serialized Form

Constructor Summary
SciEngine()
          default constructor
SciEngine(java.lang.String idEngine)
           
 
Method Summary
 BooleanWrapper activate()
          Activate a new JVM to wrap a worker
 SciResult execute(SciTask sciTask)
          execute a task
 void exit()
           
 void killWorker()
          Kill the worker related the task It is an immediat services
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SciEngine

public SciEngine()
default constructor


SciEngine

public SciEngine(java.lang.String idEngine)
Parameters:
idEngine -
Method Detail

exit

public void exit()

execute

public SciResult execute(SciTask sciTask)
execute a task

Parameters:
sciTask - Scilab task
Returns:
result of the computation

activate

public BooleanWrapper activate()
Activate a new JVM to wrap a worker

Returns:
a future representing the state of the activation

killWorker

public void killWorker()
Kill the worker related the task It is an immediat services



Copyright 2001-2007 INRIA All Rights Reserved.