void de.alysis.r.basemodel.connection.BaseConnectionImpl.voidEval String  cmd,
long  timeout
throws ModelException
 

Evaluates the given command.

Implemented as separate thread which is interrupted after the timeout period.

Parameters:
cmd command/expression string
timeout wait for result in milisec.
Exceptions:
ModelException,InterruptedException 

Implements de.alysis.r.basemodel.connection.BaseConnection.

00073                                                                              {
00074                 if (c == null || !c.isConnected())
00075                         throw new ModelException("Not connected");
00076                 try {
00077                         if (c != null && c.isConnected()) {
00078                                 c.voidEval(cmd);
00079                         }
00080                 } catch (RSrvException e) {
00081                         throw new ModelException(e.getLocalizedMessage());
00082                 }
00083         }


Generated on Mon Jun 26 18:45:59 2006 for RSubmit by  doxygen 1.4.6