|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionAcceptor
Objects of this type can be notified whenever a new connection is established and the first word on the wire is read. The objects are responsible for registering themselves with the ConnectionDispatcher.
| Method Summary | |
|---|---|
void |
acceptConnection(String word,
Socket s)
Notification that a new incoming socket has been opened. |
boolean |
isBlocking()
Returns true, if acceptConnection(String, Socket) needs to be
invoked in a separate thread. |
| Method Detail |
|---|
void acceptConnection(String word,
Socket s)
word - first word that arrived on the wires - the newly opened socket.boolean isBlocking()
acceptConnection(String, Socket) needs to be
invoked in a separate thread.
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||