class ClientHandler
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
(package private) java.io.BufferedInputStream |
in
Buffered input communication streams for efficiency.
|
(package private) java.net.Socket |
socket
Socket to client.
|
Constructor and Description |
---|
ClientHandler(java.net.Socket socket)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
This method handles all communication with sender.
|
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