public interface RemoteEngineSession extends Session
Session.ConnectionMode
Modifier and Type | Method and Description |
---|---|
void |
disposeContext(Serializable context)
Disposes of a context.
|
List<PointValue> |
execute(ResultValue resultValue,
String[] params,
Serializable context)
Executes the processing of a request for a result value.
|
Serializable |
newContext(Params params,
Logger logger)
Returns a new context.
|
boolean |
setUp(String name,
Params params,
Config config,
Logger logger)
Sets up this engine executor.
|
void |
tearDown()
Tears down what has been set up.
|
getConnectionMode, login, logout
void disposeContext(@Nonnull Serializable context) throws RemoteException, SessionException
context
- The context.RemoteException
- From RMI RunTime.SessionException
- On session problems.List<PointValue> execute(ResultValue resultValue, String[] params, Serializable context) throws ServiceNotAvailableException, InterruptedException, RemoteException
resultValue
- The requested result.params
- Result parameters.context
- The context.ServiceNotAvailableException
- From session security check.InterruptedException
- When interrupted.RemoteException
- From RMI RunTime.Serializable newContext(Params params, Logger logger) throws RemoteException, SessionException
params
- The caller's params.logger
- The caller's logger.RemoteException
- From RMI RunTime.SessionException
- On session problems.boolean setUp(String name, Params params, Config config, Logger logger) throws SessionException, RemoteException
name
- The caller's name.params
- The caller's params.config
- The config.logger
- The caller's logger.SessionException
- From session security check.RemoteException
- From RMI RunTime.void tearDown() throws RemoteException
RemoteException
- From RMI RunTime.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.