|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AcceptorListener
Receives asynchronous notification of events from an associated
Acceptor. The newConnection method
is invoked when a connection has been accepted to obtain an appropriate
ConnectionListener from this listener. When the
Acceptor is shut down, the listener is notified by
invoking its disconnected() method.
| Method Summary | |
|---|---|
void |
disconnected()
Notifies this listener that its associated Acceptor
has shut down. |
ConnectionListener |
newConnection()
Returns an appropriate ConnectionListener for a newly-accepted
connection. |
| Method Detail |
|---|
ConnectionListener newConnection()
ConnectionListener for a newly-accepted
connection. The new Connection is passed to the
connected method of the
returned ConnectionListener once it is fully established.
ConnectionListener to receive events for the
newly-accepted Connectionvoid disconnected()
Acceptor
has shut down.
|
Project Darkstar, Version 0.9.8.6 2013-07-29 20:32:23 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||