Define an equivalent to the NIO NetworkChannel type (NetworkSocket maybe)
which extends Closeable and defines the following existing common methods
across the XXSocket types:
void bind(SocketAddress)
SocketAddress getLocalSocketAddress()
<T> NetworkSocket setOption(SocketOption<T>, T)
<T> T getOption(SocketOption<T>)
Set<SocketOption<?>> supportedOptions
which extends Closeable and defines the following existing common methods
across the XXSocket types:
void bind(SocketAddress)
SocketAddress getLocalSocketAddress()
<T> NetworkSocket setOption(SocketOption<T>, T)
<T> T getOption(SocketOption<T>)
Set<SocketOption<?>> supportedOptions
- duplicates
-
JDK-8036979 Support java.net.SocketOption<> in java.net socket types
-
- Closed
-
- relates to
-
JDK-8036979 Support java.net.SocketOption<> in java.net socket types
-
- Closed
-