Class sun.server.ServerHandler
All Packages Class Hierarchy This Package Previous Next Index
Class sun.server.ServerHandler
java.lang.Object
|
+----sun.server.ServerHandler
- public class ServerHandler
- extends Object
- implements Runnable
-
server
-
-
ServerHandler(Server)
- Creates a new handler for the specified server.
-
handleConnection(Socket)
- Handles a single connection from the client.
-
run()
- Runs the server handler.
server
protected Server server
ServerHandler
protected ServerHandler(Server server)
- Creates a new handler for the specified server.
- Parameters:
- the - server for this handler
run
public void run()
- Runs the server handler.
handleConnection
protected abstract void handleConnection(Socket s) throws IOException
- Handles a single connection from the client.
- Parameters:
- s - the socket connection
All Packages Class Hierarchy This Package Previous Next Index