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

Variable Index

 o server

Constructor Index

 o ServerHandler(Server)
Creates a new handler for the specified server.

Method Index

 o handleConnection(Socket)
Handles a single connection from the client.
 o run()
Runs the server handler.

Variables

 o server
  protected Server server

Constructors

 o ServerHandler
  protected ServerHandler(Server server)
Creates a new handler for the specified server.
Parameters:
the - server for this handler

Methods

 o run
  public void run()
Runs the server handler.
 o 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