Interface SocketModalCloseable
- All Superinterfaces:
AutoCloseable, Closeable, ModalCloseable
- All Known Subinterfaces:
BHttpConnection, HttpClientConnection, HttpConnection, HttpConnectionEventHandler, HttpServerConnection, IOSession, ProtocolIOSession
- All Known Implementing Classes:
ClientH2IOEventHandler, ClientH2PrefaceHandler, ClientH2StreamMultiplexer, ClientHttp1IOEventHandler, ClientHttp1StreamDuplexer, DefaultBHttpClientConnection, DefaultBHttpServerConnection, HttpProtocolNegotiator, LoggingBHttpClientConnection, LoggingBHttpServerConnection, LoggingIOSession, ServerH2IOEventHandler, ServerH2PrefaceHandler, ServerH2StreamMultiplexer, ServerHttp1IOEventHandler, ServerHttp1StreamDuplexer, SSLIOSession
A generic
ModalCloseable backed by a network socket.- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the socket timeout value.voidsetSocketTimeout(Timeout timeout) Sets the socket timeout value.Methods inherited from interface ModalCloseable
close
-
Method Details
-
getSocketTimeout
-
setSocketTimeout
Sets the socket timeout value.- Parameters:
timeout- timeout value
-