public class AbstractRemoteOperationManager extends UnicastRemoteObject implements RemoteOperationManager
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractRemoteOperationManager.IdentifiedGenerator |
class |
AbstractRemoteOperationManager.RemoteOperationCheckedThread |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
protected HashMap |
finishedThreads |
protected AbstractRemoteOperationManager.IdentifiedGenerator |
generator |
protected EntityReferenceLocator |
locator |
protected static Class[] |
parametersClass |
static long |
remoteOperationCheckedTime |
static int |
runningThreadNumber |
protected HashMap |
runningThreads |
protected AbstractRemoteOperationManager.RemoteOperationCheckedThread |
thread |
protected ArrayList |
waitingList |
protected HashMap |
waitingThreads |
refFINISHED, RUNNING, UNKNOWN, WAITING, WAITING_REQUIRED| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRemoteOperationManager(int port,
EntityReferenceLocator locator) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(String token,
int sessionId) |
protected boolean |
checkSessionId(int sessionId) |
protected void |
executeRemoteOperation() |
protected void |
executeRemoteOperation(String token) |
protected void |
executeRemoteOperation(String token,
RemoteOperation rOperation) |
Hashtable |
getCurrentExecutionInformation(String token,
int sessionId) |
HashMap |
getRequired(String token,
int sessionId) |
Hashtable |
getResult(String token,
int sessionId) |
int |
getStatus(String token,
int sessionId) |
boolean |
hasRequired(String token,
int sessionId) |
boolean |
isFinished(String token,
int sessionId) |
String |
run(String className,
HashMap parameters,
int sessionId) |
void |
setRequired(String token,
HashMap required,
int sessionId) |
clone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic static int runningThreadNumber
public static long remoteOperationCheckedTime
public static boolean DEBUG
protected static Class[] parametersClass
protected ArrayList waitingList
protected HashMap waitingThreads
protected HashMap runningThreads
protected HashMap finishedThreads
protected EntityReferenceLocator locator
protected AbstractRemoteOperationManager.IdentifiedGenerator generator
protected AbstractRemoteOperationManager.RemoteOperationCheckedThread thread
protected AbstractRemoteOperationManager(int port,
EntityReferenceLocator locator)
throws RemoteException
RemoteExceptionpublic void cancel(String token, int sessionId) throws Exception
cancel in interface RemoteOperationManagerExceptionprotected boolean checkSessionId(int sessionId)
public Hashtable getResult(String token, int sessionId) throws Exception
getResult in interface RemoteOperationManagerExceptionpublic Hashtable getCurrentExecutionInformation(String token, int sessionId) throws Exception
getCurrentExecutionInformation in interface RemoteOperationManagerExceptionpublic boolean isFinished(String token, int sessionId) throws Exception
isFinished in interface RemoteOperationManagerExceptionprotected void executeRemoteOperation()
protected void executeRemoteOperation(String token)
protected void executeRemoteOperation(String token, RemoteOperation rOperation)
public String run(String className, HashMap parameters, int sessionId) throws Exception
run in interface RemoteOperationManagerExceptionpublic void setRequired(String token, HashMap required, int sessionId) throws Exception
setRequired in interface RemoteOperationManagerExceptionpublic HashMap getRequired(String token, int sessionId) throws Exception
getRequired in interface RemoteOperationManagerExceptionpublic boolean hasRequired(String token, int sessionId) throws Exception
hasRequired in interface RemoteOperationManagerExceptionpublic int getStatus(String token, int sessionId) throws Exception
getStatus in interface RemoteOperationManagerExceptionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.