private static class WebHubConnection.CallWorker
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
private CallableClient |
client_ |
private long |
minWaitMillis_ |
private boolean |
stopped_ |
private int |
timeoutSec_ |
private XmlRpcHubConnection |
xconn_ |
Constructor and Description |
---|
CallWorker(XmlRpcHubConnection xconn,
CallableClient client,
java.lang.String appName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
private void |
seriousError(java.lang.Throwable e)
Invoked if there is a serious (non-timeout) error when polling
for callbacks.
|
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, yield
private final XmlRpcHubConnection xconn_
private final CallableClient client_
private final int timeoutSec_
private final long minWaitMillis_
private volatile boolean stopped_
CallWorker(XmlRpcHubConnection xconn, CallableClient client, java.lang.String appName)
xconn
- hub connectionappName
- client's namepublic void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
private void seriousError(java.lang.Throwable e)