|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines an acceptor.
An acceptor wraps a server listening socket and provides an uniform means to create inputs and outputs.
It is up to the implementation to ensure thread-safety and re-entrance.
Method Summary | |
void |
close()
Close the acceptor. |
void |
open()
Open the acceptor and accept connections. |
Method Detail |
public void open()
Whether this method is blocking or not depends on the implementation.
public void close()
Whether this method is blocking or not depends on the implementation.
Calling this method while the acceptor is not open should not generate a failure.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |