|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--java.lang.Thread
|
+--edu.vt.marian.server.session_table_process_call_from_session_to_client_thread
class name: session_table_process_call_from_session_to_client_thread class description: this thread is simply used to avoid deadlock, it will simply call the method process_call_from_session_to_client_by_thread (...), since this method need to be synchronized and yet it's called in call loop backs, using a thread can avoid possible deadlock here
uses the services of class(es): designer(s): Jianxin Zhao (jxzhao@csgrad.cs.vt.edu) implementator(s): finished time: known bugs: JDK version: 1.1.5 side effects:
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
| Constructor Summary | |
session_table_process_call_from_session_to_client_thread(session_table st,
int session_id,
edu.vt.marian.uip.rpc_function rf,
edu.vt.marian.common.Debug debug)
method description: this constructor will create a session table object, this object is created by the specified session manager object and the specified directory contains all the configuration information about this object uses the services of class(es): input parameter(s): st -- this is the session table which created this thread session_id -- identifies the session which called the session_table's method process_call_from_session_to_client(...) rf -- the rpc_function sent by the session debug -- used for debugging output parameter(s): none return value: none |
|
| Method Summary | |
void |
run()
method description: this method will simply call the session_table's method process_call_from_session_to_client_by_thread(...) uses the services of class(es): input parameter(s): none output parameter(s): none return value: the current number of sessions in this table as an integer |
| 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 session_table_process_call_from_session_to_client_thread(session_table st,
int session_id,
edu.vt.marian.uip.rpc_function rf,
edu.vt.marian.common.Debug debug)
uses the services of class(es): input parameter(s): st -- this is the session table which created this thread session_id -- identifies the session which called the session_table's method process_call_from_session_to_client(...) rf -- the rpc_function sent by the session debug -- used for debugging output parameter(s): none return value: none
| Method Detail |
public void run()
uses the services of class(es): input parameter(s): none output parameter(s): none return value: the current number of sessions in this table as an integer
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||