private class ServerManagementTCP.ClientHandler
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
ClientHandler(java.net.Socket s)
Constructor with a socket.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
handleClientRequest()
Respond to next request incomming on socket s.
|
void |
run()
Implementation of runnable.
|
private HostItem addr
public ClientHandler(java.net.Socket s)
s
- Socket of this clientpublic void run()
run
in interface java.lang.Runnable
private boolean handleClientRequest()
s
- Socket used to read request and send response