Package edu.jas.util
Class Listener
- java.lang.Object
-
- java.lang.Thread
-
- edu.jas.util.Listener
-
- All Implemented Interfaces:
java.lang.Runnable
class Listener extends java.lang.ThreadThread to communicate with the list server.
-
-
Field Summary
Fields Modifier and Type Field Description private SocketChannelchannelprivate booleangoonprivate java.util.SortedMap<Counter,java.lang.Object>theList
-
Constructor Summary
Constructors Constructor Description Listener(SocketChannel s, java.util.SortedMap<Counter,java.lang.Object> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()(package private) voidsetDone()-
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
-
channel
private SocketChannel channel
-
theList
private java.util.SortedMap<Counter,java.lang.Object> theList
-
goon
private volatile boolean goon
-
-
Constructor Detail
-
Listener
Listener(SocketChannel s, java.util.SortedMap<Counter,java.lang.Object> list)
-
-