public interface ListenerEndpoint
| Modifier and Type | Method and Description |
|---|---|
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.
|
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()
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.