donaldp     2002/09/21 22:39:50

  Modified:    src/java/org/apache/avalon/cornerstone/services/connection
                        ConnectionHandler.java
  Log:
  Document the fact that the manager will shutdown socket and thus the handler should 
not.
  
  Revision  Changes    Path
  1.6       +4 -4      
jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/connection/ConnectionHandler.java
  
  Index: ConnectionHandler.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/connection/ConnectionHandler.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ConnectionHandler.java    5 Aug 2002 14:12:14 -0000       1.5
  +++ ConnectionHandler.java    22 Sep 2002 05:39:50 -0000      1.6
  @@ -12,15 +12,15 @@
   import java.net.Socket;
   
   /**
  - * This interface is the way in which handlers are created.
  + * This interface is the way in which incoming connections are processed.
    *
    * @author <a href="mailto:peter at apache.org">Peter Donald</a>
    */
   public interface ConnectionHandler
   {
       /**
  -     * Handle a connection.
  -     * This handler is responsible for processing connections as they occur.
  +     * Processes connections as they occur. The handler should not
  +     * close the <tt>connection</tt>, the caller will do that.
        *
        * @param connection the connection
        * @exception IOException if an error reading from socket occurs
  @@ -28,4 +28,4 @@
        */
       void handleConnection( Socket connection )
           throws IOException, ProtocolException;
  -}
  \ No newline at end of file
  +}
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to