| org.codehaus.spice.netserve.connection.RequestHandler
All known Subclasses: org.codehaus.spice.netserve.connection.handlers.AbstractRequestHandler,
RequestHandler | public interface RequestHandler (Code) | | Implement this interface to process incoming socket connections.
author: Peter Donald version: $Revision: 1.2 $ $Date: 2004/03/21 23:43:00 $ |
Method Summary | |
void | handleConnection(Socket socket) Processes connections as they occur. | void | shutdown(long timeout) Shutdown the handler and any requests currently being handled.
The timeout specifies the time to wait while shutting
down request handlers. |
handleConnection | void handleConnection(Socket socket)(Code) | | Processes connections as they occur.
Parameters: socket - the socket |
shutdown | void shutdown(long timeout)(Code) | | Shutdown the handler and any requests currently being handled.
The timeout specifies the time to wait while shutting
down request handlers. A timeout of 0 indicates that
should wait indefinetly.
Parameters: timeout - the timeout |
|
|