public interface ConnectionHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handleConnection(java.net.Socket connection)
Processes connections as they occur.
|
void handleConnection(java.net.Socket connection)
throws java.io.IOException,
java.net.ProtocolException
connection - the connectionjava.io.IOException - if an error reading from socket occursjava.net.ProtocolException - if an error handling connection occurs