|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.indi.reactor.SimpleEventHandler
org.indi.reactor.Acceptor
org.indi.server.Acceptor
public class Acceptor
Acceptor used for passive connection estabishment. Initializes incomming client connections.
| Field Summary |
|---|
| Fields inherited from class org.indi.reactor.Acceptor |
|---|
factory |
| Fields inherited from class org.indi.reactor.SimpleEventHandler |
|---|
channel, reactor, registeredOperations |
| Method Summary | |
|---|---|
java.util.Collection<ClientHandler> |
getClientHandlers()
|
void |
onAccepted(org.indi.reactor.EventHandler h)
Called when a new connection has been estabished and new ClientHanlder has been created and associated with that connection. |
| Methods inherited from class org.indi.reactor.Acceptor |
|---|
onAccept |
| Methods inherited from class org.indi.reactor.SimpleEventHandler |
|---|
channel, onClose, onConnect, onRead, onWrite, register |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void onAccepted(org.indi.reactor.EventHandler h)
throws java.nio.channels.ClosedChannelException,
java.io.IOException
onAccepted in class org.indi.reactor.Acceptorjava.nio.channels.ClosedChannelException
java.io.IOExceptionpublic java.util.Collection<ClientHandler> getClientHandlers()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||