net.directj.csf.impl
Class ClientHandlerFactoryImpl

java.lang.Object
  |
  +--net.directj.csf.ClientHandlerFactory
        |
        +--net.directj.csf.impl.ClientHandlerFactoryImpl

public class ClientHandlerFactoryImpl
extends ClientHandlerFactory

This class is used to easely create clients handler. This class is used by the server implementation to create appropriate handler. A client handler is in charge of a connection with a client.

Version:
0.1.0
Author:
CARTAPANIS Alexandre <earendil@jprolog.net>

Constructor Summary
ClientHandlerFactoryImpl()
           
 
Method Summary
 ClientHandler createClientHandler(java.net.Socket _sock, Server _server)
          Creates a new ClientHandler, created by the _server server and using the _sock socket.
 
Methods inherited from class net.directj.csf.ClientHandlerFactory
getDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientHandlerFactoryImpl

public ClientHandlerFactoryImpl()
Method Detail

createClientHandler

public ClientHandler createClientHandler(java.net.Socket _sock,
                                         Server _server)
Creates a new ClientHandler, created by the _server server and using the _sock socket.

Specified by:
createClientHandler in class ClientHandlerFactory
Parameters:
_sock - The socket on wich there is the connection.
_server - The server that handle the client's request.
Returns:
ClientHandler - A new client handler.


Copyright © 2002 CARTAPANIS Alexandre
This page was last updated on May 10 2003