org.apache.avalon.cornerstone.services.connection
Interface ConnectionHandler
- public interface ConnectionHandler
This interface is the way in which incoming connections are processed.
- Author:
- Avalon Development Team
handleConnection
public void handleConnection(Socket connection)
throws IOException,
ProtocolException
- Processes connections as they occur. The handler should not
close the connection, the caller will do that.
- Parameters:
connection
- the connection
- Throws:
IOException
- if an error reading from socket occurs
ProtocolException
- if an error handling connection occurs
Copyright © Apache Software Foundation. All Rights Reserved.