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
-
service
-
-
ServiceHandler(Service)
- Creates a new handler for the specified service.
-
handleConnection(Socket)
- Handles a single connection from the client.
-
run()
- Runs the service handler.
service
protected Service service
ServiceHandler
protected ServiceHandler(Service service)
- Creates a new handler for the specified service.
- Parameters:
- the - service for this handler
run
public void run()
- Runs the service 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