Clover coverage report - Spice Netserve - 1.1-b3
Coverage timestamp: Tue Nov 30 2004 22:08:21 EET
file stats: LOC: 36   Methods: 0
NCLOC: 7   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
RequestHandler.java - - - -
coverage
 1    /*
 2    * Copyright (C) The Spice Group. All rights reserved.
 3    *
 4    * This software is published under the terms of the Spice
 5    * Software License version 1.1, a copy of which has been included
 6    * with this distribution in the LICENSE.txt file.
 7    */
 8    package org.codehaus.spice.netserve.connection;
 9   
 10    import java.net.Socket;
 11   
 12    /**
 13    * Implement this interface to process incoming socket connections.
 14    *
 15    * @author Peter Donald
 16    * @version $Revision: 1.2 $ $Date: 2004/03/21 23:43:00 $
 17    */
 18    public interface RequestHandler
 19    {
 20    /**
 21    * Processes connections as they occur.
 22    *
 23    * @param socket the socket
 24    */
 25    void handleConnection( Socket socket );
 26   
 27    /**
 28    * Shutdown the handler and any requests currently being handled.
 29    * The timeout specifies the time to wait while shutting
 30    * down request handlers. A timeout of 0 indicates that
 31    * should wait indefinetly.
 32    *
 33    * @param timeout the timeout
 34    */
 35    void shutdown( long timeout );
 36    }