All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.server.ServiceHandler

java.lang.Object
   |
   +----sun.server.ServiceHandler

public class ServiceHandler
extends Object
implements Runnable

Variable Index

 o service

Constructor Index

 o ServiceHandler(Service)
Creates a new handler for the specified service.

Method Index

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

Variables

 o service
  protected Service service

Constructors

 o ServiceHandler
  protected ServiceHandler(Service service)
Creates a new handler for the specified service.

Parameters:
the - service for this handler

Methods

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