public final class ResponseWorker extends Thread
ResponseWorker is responsible to process responses for all the JsonRpcClient and it is produced
by ReactorFactory.Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
ResponseWorker(int parallelism) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
EventPublisher |
getPublisher() |
JsonRpcClient |
register(ReactorClient client)
Registers new client with
ResponseWorker. |
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic JsonRpcClient register(ReactorClient client)
ResponseWorker.client - - JsonRpcClient to be registered.public void close()
public EventPublisher getPublisher()
Copyright © 2018. All Rights Reserved.