Package net.sf.colossus.webserver
Class ClientWatchDog
java.lang.Object
java.lang.Thread
net.sf.colossus.webserver.ClientWatchDog
- All Implemented Interfaces:
Runnable
Sends ping requests to clients to check whether they are still alive
and connected.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
private boolean
private static final Logger
private final UserDB
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
LOGGER
-
done
private boolean done -
userDB
-
CHECK_INTERVAL_SECONDS
private static final long CHECK_INTERVAL_SECONDS- See Also:
-
-
Constructor Details
-
ClientWatchDog
-
-
Method Details