com.kodemuse.net
Interface ConnectionHandler


public interface ConnectionHandler

 Handles a connection. I may have got the interface signature idea
 from prior code like Avalon Apache Server framework. Probably picked
 the pattern from the Patterns book.
 idea is: Listen - Dispatch
 
 Dispatch could be done in two stages 
 - dispatch to execute in a new thread and then
 - dispatch to a worker.
 

Author:
Harmeet Bedi

Method Summary
 void handleConnection(java.net.Socket connection)
           
 

Method Detail

handleConnection

public void handleConnection(java.net.Socket connection)
                      throws java.io.IOException