After receiving new connection request it creates new ServerConnection
for this request and new CommandHandlers
.
This is very simple class now and at the moment it is not necessary even. However in future I would like to handle simple kinds of authorization and I think that this is good place for it.
Created: Thu Jan 10 15:40:53 2002
Definition at line 41 of file ConnectionHandlerIfc.java.
Public Methods | |
void | handleNewConnection (Socket connection_socket, List command_handlers) |
handleNewConnection method implementation handles requests for new connections. | |
void | handleException (Exception exc) |
handleException method should be able to handle exceptions coming from SocketListener . |
|
In general it should never occur.
Implemented in ConnectionHandlerImpl. |
|
It commonly should create new instance of
Implemented in ConnectionHandlerImpl. |