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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: 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

            Assignee:
            Chris Hegarty
            Reporter:
            Michael McMahon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: