|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.retrogui.dualrpc.client.DualRpcClientDispatcher
Dispatcher for incoming rpc messages. Each incoming message is handed off to a newly spawned worker thread.
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Fields inherited from interface com.retrogui.dualrpc.common.IDualRpcMessageConstants |
DEFAULT_RPC_CALL_TIMEOUT, PAYLOAD_TYPE_RPC_CALL, PAYLOAD_TYPE_RPC_FAULT, PAYLOAD_TYPE_RPC_RESULT, RPC_FAULTCODE_EXCEPTION |
| Constructor Summary | |
DualRpcClientDispatcher(DualRpcClient dualRpcClient)
Creates a new DualRpcClientDispatcher object. |
|
| Method Summary | |
java.util.Hashtable |
getCallWaitingRegistry()
get the call waiting registry required by IRpcWorker interface |
IRpcHandler |
getHandler(java.lang.String handlerClassname)
get a handler. |
IMethodAccessControl |
getMethodAccessControl()
Get the method access control object. |
java.lang.String |
getNextMessageId()
increments and returns message sequence, required by IRpcMessageDispatcher interface |
Session |
getSession()
get the session, required by IRpcMessageDispatcher interface |
void |
run()
main dispatcher loop |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, 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 DualRpcClientDispatcher(DualRpcClient dualRpcClient)
dualRpcClient - | Method Detail |
public void run()
run in interface java.lang.Runnablepublic java.util.Hashtable getCallWaitingRegistry()
getCallWaitingRegistry in interface IRpcMessageDispatcherpublic java.lang.String getNextMessageId()
getNextMessageId in interface IRpcMessageDispatcherpublic IRpcHandler getHandler(java.lang.String handlerClassname)
getHandler in interface IRpcMessageDispatcherhandlerClassname -
public Session getSession()
getSession in interface IRpcMessageDispatcherpublic IMethodAccessControl getMethodAccessControl()
getMethodAccessControl in interface IRpcMessageDispatcher
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||