class RemoteLegacyJavaAppserverClient extends LegacyJavaAppserverClient
| Modifier and Type | Field and Description |
|---|---|
private boolean |
disconnected
Flag indicating if this client has disconnected.
|
connectionID, LOG, pool, sessionIDINPUT, INPUT_OUTPUT, OUTPUT, TYPE_BLOB, TYPE_CHARACTER, TYPE_CLOB, TYPE_DATASET, TYPE_DATASET_HANDLE, TYPE_DATE, TYPE_DATETIME, TYPE_DATETIMETZ, TYPE_DECIMAL, TYPE_HANDLE, TYPE_INT64, TYPE_INTEGER, TYPE_LOGICAL, TYPE_LONGCHAR, TYPE_MEMPTR, TYPE_RAW, TYPE_RECID, TYPE_ROWID, TYPE_TABLE, TYPE_TABLE_HANDLE, TYPE_UNKNOWN| Constructor and Description |
|---|
RemoteLegacyJavaAppserverClient(RemoteAppServerConnectionPool pool)
Initialize this client with the given worker pool.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancelAllRequests()
Cancel all the requests active on this client.
|
boolean |
connect()
Connect to the remote FWD server.
|
void |
disconnect()
Terminate all sessions on this client.
|
protected boolean |
execute(LegacyAppServerWork work)
Send the given task to be executed by one of the workers in the
LegacyJavaAppserverClient.pool. |
connectRemote, connectRemote, deleteProcedure, invokeWithArgs, isInitialized, runFunction, runPersistentProcedure, runProcedure, runProcedure, runSingleRunProcedure, runSingletonProcedure, setMergeTables, setParameterOrig, setUnknownValuesForFieldsaddDataObject, addDataObject, addRelation, addTableMetaData, addTableMetaData, beginLogging, createDataGraph, createDataGraph, createDataObject, createDataObject, createGraphMetaData, createMemptr, createObjectMetaData, createObjectMetaData, endLogging, getArgumentModes, getArguments, getBeforeObjects, getBytes, getChangedDataObjects, getChanges, getChangeSummary, getChildRows, getConnection, getDataGraphName, getDataObjects, getDataObjects, getDataObjects, getFieldCount, getFieldName, getFields, getFieldType, getGraphName, getGregorianCalendar, getGregorianCalendar, getJavaParameter, getJavaParameter, getMetaData, getNamespacePrefix, getNamespaceURI, getNumTables, getNumTables, getOutputParameter, getOutputParameter, getRelation, getRelation, getRelations, getRelations, getTableFieldCount, getTableFieldNames, getTableFields, getTableFieldType, getTableFieldType, getTableIndex, getTableIndex, getTableIndex, getTableMetaData, getTableMetaData, getTableMetaData, getTableName, getTableNames, getXmlNodeName, isCreated, isDeleted, isMemptr, isTableField, postProcessArguments, selectRows, setDefaultTrackChanges, setFieldMetaData, setGregorianCalendar, setNamespacePrefix, setNamespaceURI, setNormalizedExtent, setXmlNodeName, useSchemaMarshalNoneclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitblob, character, clob, dataset, datasetHandle, date, datetime, datetimetz, decimal, handle, input, inputOutput, int64, integer, logical, longchar, memptr, output, raw, recid, rowid, table, tableHandle, unknownprivate boolean disconnected
public RemoteLegacyJavaAppserverClient(RemoteAppServerConnectionPool pool)
pool - The pool of workers where tasks will be forwarded, to be executed on the remote appserver.public boolean connect()
connect in class LegacyJavaAppserverClienttrue if it connected.public void disconnect()
disconnect in class LegacyJavaAppserverClientpublic void cancelAllRequests()
cancelAllRequests in class LegacyJavaAppserverClientprotected boolean execute(LegacyAppServerWork work)
LegacyJavaAppserverClient.pool.execute in class LegacyJavaAppserverClientwork - The work to be executed.java.lang.RuntimeException - If the request was not posted to any worker or the time allowed to execute has elapsed.