Class RserveConnection
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.measurement.r.connection.RserveConnection
-
public class RserveConnection extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONNECTION_RETRIES_MAX
static String
DEFAULT_HOST
static int
DEFAULT_PORT
-
Constructor Summary
Constructors Constructor Description RserveConnection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(ConnectionStatusListener listener)
void
connect()
void
connect(String host, int port)
void
connectAsync(String host, int port)
void
disconnect()
org.rosuda.REngine.Rserve.RConnection
getConnection()
boolean
isConnected()
void
removeListener(ConnectionStatusListener listener)
void
stopConnecting()
-
-
-
Field Detail
-
DEFAULT_HOST
public static final String DEFAULT_HOST
- See Also:
- Constant Field Values
-
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
-
CONNECTION_RETRIES_MAX
public static final int CONNECTION_RETRIES_MAX
- See Also:
- Constant Field Values
-
-
Method Detail
-
connect
public void connect(String host, int port)
-
connect
public void connect()
-
connectAsync
public void connectAsync(String host, int port)
-
stopConnecting
public void stopConnecting()
-
disconnect
public void disconnect()
-
getConnection
public org.rosuda.REngine.Rserve.RConnection getConnection()
-
isConnected
public boolean isConnected()
-
addListener
public void addListener(ConnectionStatusListener listener)
-
removeListener
public void removeListener(ConnectionStatusListener listener)
-
-