xsul.dispatcher.msg.clientconnection
Class PoolClientConnection

java.lang.Object
  extended byxsul.http_server.HttpMiniServlet
      extended byxsul.dispatcher.msg.clientconnection.PoolClientConnection

public class PoolClientConnection
extends HttpMiniServlet

Managing threads pool to serve clients requests and responses from WSs.

Author:
Alexandre di Costanzo

Constructor Summary
PoolClientConnection(RoutingTable routingTable)
          Create and initialize a pool of threads to serve clients requests.
 
Method Summary
 void service(HttpServerRequest req, HttpServerResponse resp)
          Check, parse, verify the req.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolClientConnection

public PoolClientConnection(RoutingTable routingTable)
Create and initialize a pool of threads to serve clients requests.

Parameters:
routingTable - the Routing Table used to find WS.
Method Detail

service

public void service(HttpServerRequest req,
                    HttpServerResponse resp)
             throws HttpServerException
Check, parse, verify the req. Attribute a client thread to serve the client.

Specified by:
service in class HttpMiniServlet
Throws:
HttpServerException
See Also:
HttpMiniServlet.service(xsul.http_server.HttpServerRequest, xsul.http_server.HttpServerResponse)


IU Extreme! Lab (http://www.extreme.indiana.edu)