ListenerEndpointImplpublic interface ListenerEndpoint
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Closes this endpoint.
|
java.net.SocketAddress |
getAddress() |
Returns the socket address of this endpoint.
|
java.io.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.
|
java.net.SocketAddress getAddress()
java.io.IOException getException()
IOException thrown during initialization
of this endpoint or null, if initialization was successful.null.void waitFor()
throws java.lang.InterruptedException
java.lang.InterruptedException - in case the initialization process was
interrupted.boolean isClosed()
true if the endpoint has been closed,
false otherwise.void close()