|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--org.openware.jdf.server.WorkerThread
Thread that handles remote method invocations. Each remote method call results in one of these threads being woken up to handle the invocation.
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Fields inherited from interface org.openware.jdf.server.JDFServerConstants |
CREATE_METHOD_INDEX, FORWARD_METHOD_INDEX, JDFSERVER_METHOD_INDEX_BASE, MOVETO_METHOD_INDEX, SERVER_OID, SET_TIMEOUT_METHOD_INDEX |
Constructor Summary | |
WorkerThread(ThreadPool threadPool,
java.util.Hashtable objectTable)
|
Method Summary | |
boolean |
isDead()
|
void |
processSocket()
This does the actual work of invoking the method. |
void |
run()
|
void |
setDead(boolean dead)
|
void |
setSocket(java.net.Socket sock)
|
void |
waitToRun()
|
void |
wakeUp(java.net.Socket sock)
|
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WorkerThread(ThreadPool threadPool, java.util.Hashtable objectTable)
Method Detail |
public void setSocket(java.net.Socket sock)
public boolean isDead()
public void setDead(boolean dead)
public void processSocket() throws JDFProtocolException
public void waitToRun()
public void wakeUp(java.net.Socket sock)
public void run()
run
in class java.lang.Thread
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |