|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.directj.csf.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.
| Constructor Summary | |
protected |
ClientHandlerFactory()
Forbids direct instanciation. |
| Method Summary | |
abstract ClientHandler |
createClientHandler(java.net.Socket _sock,
Server _server)
Creates a new ClientHandler, created by the _server server and using the _sock socket. |
static ClientHandlerFactory |
getDefault()
Returs the default factory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected ClientHandlerFactory()
| Method Detail |
public static ClientHandlerFactory getDefault()
ClientHandlerFactory - The default ClientHandlerFactory.
public abstract ClientHandler createClientHandler(java.net.Socket _sock,
Server _server)
_sock - The socket on wich there is the connection._server - The server that handle the client's request.
ClientHandler - A new client handler.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||