org.apache.xmlrpc
Class WebServer.Runner

java.lang.Object
  extended by org.apache.xmlrpc.WebServer.Runner
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
WebServer

 class WebServer.Runner
extends java.lang.Object
implements java.lang.Runnable

Responsible for handling client connections.


Field Summary
(package private)  WebServer.Connection con
           
(package private)  int count
           
(package private)  java.lang.Thread thread
           
 
Constructor Summary
WebServer.Runner()
           
 
Method Summary
 void handle(java.net.Socket socket)
          Handles the client connection on socket.
 void run()
          Delegates to con.run().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

thread

java.lang.Thread thread

con

WebServer.Connection con

count

int count
Constructor Detail

WebServer.Runner

WebServer.Runner()
Method Detail

handle

public void handle(java.net.Socket socket)
            throws java.io.IOException
Handles the client connection on socket.

Parameters:
socket - The source to read the client's request from.
Throws:
java.io.IOException

run

public void run()
Delegates to con.run().

Specified by:
run in interface java.lang.Runnable


Copyright 2001-2001-2005 Apache Software Foundation. All Rights Reserved.