Package edu.jas.util
Class DHTListener<K,V>
- java.lang.Object
-
- java.lang.Thread
-
- edu.jas.util.DHTListener<K,V>
-
- All Implemented Interfaces:
java.lang.Runnable
class DHTListener<K,V> extends java.lang.Thread
Thread to communicate with the list server.
-
-
Constructor Summary
Constructors Constructor Description DHTListener(SocketChannel s, java.util.SortedMap<K,V> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
isDone()
void
run()
run.(package private) void
setDone()
-
Methods inherited from class java.lang.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 Detail
-
logger
private static final org.apache.logging.log4j.Logger logger
-
debug
private static final boolean debug
-
channel
private final SocketChannel channel
-
goon
private boolean goon
-
-
Constructor Detail
-
DHTListener
DHTListener(SocketChannel s, java.util.SortedMap<K,V> list)
-
-