net.directj.csf.impl
Class JLoggerClientHandlerFactory

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

public class JLoggerClientHandlerFactory
extends ClientHandlerFactory

This class is used to easely create clients handler. This class is used by the jlogger 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
JLoggerClientHandlerFactory()
           
 
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

JLoggerClientHandlerFactory

public JLoggerClientHandlerFactory()
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