edu.vt.marian.uip
Class server_uip_call_back_thread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--edu.vt.marian.uip.server_uip_call_back_thread

public class server_uip_call_back_thread
extends java.lang.Thread

class name: server_uip_call_back_thread class description: this thread will pass the rpc_function to the call_back_processor to process, using thread can avoid possible deadlock caused by reader_writer_mutex when a thread is killed while it's executing a reader or writer method, this can also avoid the corresponding server_uip_receiver be blocked when it takes long time for the call_back_processor to process a function

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
server_uip_call_back_thread(int client_id, rpc_function rf, call_back_processor cbp, edu.vt.marian.common.Debug debug)
          method description: this constructor will create a server_uip_call_back _thread object based on the information specifies in the parameters uses the services of class(es): input parameter(s): client_uip -- specifies from which client_uip this function is received rf -- the function received from that client_uip cbp -- this object will be able to process the function debug -- used for debugging output parameter(s): none return value: none synchronization consideration: none
 
Method Summary
 void run()
          method description: this method of this thread will pass the rpc_function to the call_back_processor to process uses the services of class(es): input parameter(s): none output parameter(s): none return value: none synchronization consideration: none
 
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

server_uip_call_back_thread

public server_uip_call_back_thread(int client_id,
                                   rpc_function rf,
                                   call_back_processor cbp,
                                   edu.vt.marian.common.Debug debug)
method description: this constructor will create a server_uip_call_back _thread object based on the information specifies in the parameters

uses the services of class(es): input parameter(s): client_uip -- specifies from which client_uip this function is received rf -- the function received from that client_uip cbp -- this object will be able to process the function debug -- used for debugging output parameter(s): none return value: none synchronization consideration: none

Method Detail

run

public void run()
method description: this method of this thread will pass the rpc_function to the call_back_processor to process

uses the services of class(es): input parameter(s): none output parameter(s): none return value: none synchronization consideration: none

Overrides:
run in class java.lang.Thread