de.alysis.r.basemodel.connection.BaseConnectionImpl Class Reference

Inherits de.alysis.r.basemodel.connection.BaseConnection.

Inheritance diagram for de.alysis.r.basemodel.connection.BaseConnectionImpl:

Inheritance graph
[legend]
Collaboration diagram for de.alysis.r.basemodel.connection.BaseConnectionImpl:

Collaboration graph
[legend]
List of all members.

Detailed Description

Encapsulates server connection for other plugins.

Author:
Friedrich Schuster


Public Member Functions

 BaseConnectionImpl (Server server)
 Constructor.
 BaseConnectionImpl (String host, int port)
 Constructor for runtime mode.
void close ()
 closes current connection
void voidEval (String cmd, long timeout) throws ModelException
 Evaluates the given command.
String getLastError ()
 get last error string
boolean isConnected ()
 check connection state.
void login (String user, String pwd) throws ModelException
 login using supplied user/pwd.
boolean needLogin ()
 check authentication requirement sent by server
void setSendBufferSize (long sbs) throws ModelException
 Sets send buffer size of the Rserve (in bytes) for the current connection.
void voidEval (String cmd) throws ModelException
 Evaluates the given command, but does not fetch the result (useful for assignment operations).


The documentation for this class was generated from the following file:
Generated on Mon Jun 26 18:45:59 2006 for RSubmit by  doxygen 1.4.6