adding rsockets support into JDK

Alan Bateman Alan.Bateman at oracle.com
Wed Jan 17 11:33:06 UTC 2018


On 16/01/2018 22:08, Lu, Yingqi wrote:
> :
>
> The proposed API changes are:
>
> java.nio.channels.ServerSocketChannel
>
> public static ServerSocketChannel openRDMAChannel() throws IOException
>
> java.nio.channels.SocketChannel
>
> public static SocketChannel openRDMAChannel() throws IOException
>
> public static SocketChannel openRDMAChannel(SocketAddress remote) 
> throws IOException
>
> java.nio.channels.spi.SelectorProvider
>
> public abstract SocketChannel openRDMAChannel() throws IOException;
>
> public abstract ServerSocketChannel openRDMAChannel() throws IOException;
>
>
Hi Lucy,

This sounds like a good project but it will need discussion on how to 
integrate into the APIs. It might better to start out with factory 
methods on a JDK-specific class in the jdk.net example. Alternatively, 
we could look at slotting it in as a new protocol family implementation 
along the lines of the DatagramChannel.open(ProtocolFamily) method.

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180117/2d259ace/attachment.html>


More information about the nio-dev mailing list