juju.reattore.core.reactor
Interface ServerSocketHandler
- All Superinterfaces:
- Handler
- All Known Implementing Classes:
- HttpServerHandler
- public interface ServerSocketHandler
- extends Handler
A handler for incoming connections on a server socket.
Method Summary |
void |
handleNewClient(java.nio.channels.SocketChannel ch)
Called when the reactor has accepted a new, incoming
connection. |
handleNewClient
public void handleNewClient(java.nio.channels.SocketChannel ch)
throws java.io.IOException
- Called when the reactor has accepted a new, incoming
connection.
- Parameters:
ch
- The accepted, connected socket
- Throws:
java.io.IOException
- On a fatal error that will cause this
socket to be closed and disconnected.
Copyright © 2002-2003 Michael Hope. All Rights Reserved.