public class ClientWorker
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
ClientWorker(java.net.Socket client)
Basic constructor to create an instance of ClientWorker.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Read the input from the established connection, and process the request accordingly.
|
public ClientWorker(java.net.Socket client)
client - the client connection established in Server classServer.listenConnection()