Interface ListenerEndpoint
- All Superinterfaces:
AutoCloseable, Closeable, ModalCloseable
- All Known Implementing Classes:
ListenerEndpointImpl
ListenerEndpoint interface represents an endpoint used by an I/O reactor
to listen for incoming connection from remote clients.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the socket address of this endpoint.booleanisClosed()Determines if this endpoint has been closed and is no longer listens for incoming connections.Methods inherited from interface ModalCloseable
close
-
Method Details
-
getAddress
-
isClosed
boolean isClosed()Determines if this endpoint has been closed and is no longer listens for incoming connections.- Returns:
trueif the endpoint has been closed,falseotherwise.
-