|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ListenerEndpoint
ListenerEndpoint interface represents an endpoint used by an I/O reactor to listen for incoming connection from remote clients.
| Method Summary | |
|---|---|
void |
close()
Closes this endpoint. |
SocketAddress |
getAddress()
Returns the socket address of this endpoint. |
IOException |
getException()
Returns an instance of IOException thrown during initialization
of this endpoint or null, if initialization was successful. |
boolean |
isClosed()
Determines if this endpoint has been closed and is no longer listens for incoming connections. |
void |
waitFor()
Waits for completion of initialization process of this endpoint. |
| Method Detail |
|---|
SocketAddress getAddress()
IOException getException()
IOException thrown during initialization
of this endpoint or null, if initialization was successful.
null.
void waitFor()
throws InterruptedException
InterruptedException - in case the initialization process was
interrupted.boolean isClosed()
true if the endpoint has been closed,
false otherwise.void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||