Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8038499

define equivalent to java.nio.channels.NetworkChannel for java.net socket types

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • core-libs
    • None

      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

            chegar Chris Hegarty
            michaelm Michael McMahon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: