Class DHTListener<K,V>
java.lang.Object
java.lang.Thread
edu.jas.util.DHTListener<K,V>
- All Implemented Interfaces:
Runnable
Thread to communicate with the list server.
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SocketChannelprivate static final booleanprivate booleanprivate static final org.apache.logging.log4j.LoggerFields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Thread
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
-
Field Details
-
logger
private static final org.apache.logging.log4j.Logger logger -
debug
private static final boolean debug -
channel
-
theList
-
goon
private boolean goon
-
-
Constructor Details
-
DHTListener
DHTListener(SocketChannel s, SortedMap<K, V> list)
-
-
Method Details
-
isDone
boolean isDone() -
setDone
void setDone() -
run
-