public class RemoteEngineProxy extends SessionProxy implements RemoteEngineSession
| Modifier and Type | Class and Description |
|---|---|
static class |
RemoteEngineProxy.Builder
Builder.
|
SessionProxy.Listener, SessionProxy.SessionConnectVetoExceptionSession.ConnectionMode| Modifier and Type | Method and Description |
|---|---|
protected Session |
createSession()
Creates a session.
|
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.
|
static RemoteEngineProxy.Builder |
newBuilder()
Returns a new builder.
|
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.
|
connect, disconnect, getClientName, getConnectionMode, getContext, getContextUUID, getFactory, getServerName, getServerURI, getSession, getThisLogger, hasLoginInfo, isConnected, isPrivate, isRemote, lockConnect, lockConnectInterruptibly, login, logout, sessionException, sessionMode, unlockConnectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnectionMode, login, logout@Nonnull @CheckReturnValue public static RemoteEngineProxy.Builder newBuilder()
public void disposeContext(Serializable context)
throws SessionException
disposeContext in interface RemoteEngineSessioncontext - The context.SessionException - On session problems.public List<PointValue> execute(ResultValue resultValue, String[] params, Serializable context) throws SessionException
execute in interface RemoteEngineSessionresultValue - The requested result.params - Result parameters.context - The context.SessionExceptionpublic Serializable newContext(Params params, Logger logger) throws SessionException
newContext in interface RemoteEngineSessionparams - The caller's params.logger - The caller's logger.SessionException - On session problems.public boolean setUp(String name,
Params params,
Config config,
Logger logger)
throws SessionException
setUp in interface RemoteEngineSessionname - The caller's name.params - The caller's params.config - The config.logger - The caller's logger.SessionException - From session security check.public void tearDown()
tearDown in interface RemoteEngineSessiontearDown in class SessionProxyprotected Session createSession() throws RemoteException, SessionException
createSession in class SessionProxyRemoteException - From RMI.SessionException - When session creation fails.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.