< prev index next >
src/java.base/share/classes/java/nio/channels/spi/SelectorProvider.java
Print this page
rev 55750 : UDS support, temporary commit
*** 247,256 ****
--- 247,268 ----
*/
public abstract ServerSocketChannel openServerSocketChannel()
throws IOException;
/**
+ *
+ * @param family The protocol family
+ *
+ * @return A new stream channel
+ *
+ * @throws IOException
+ * If an I/O error occurs
+ */
+ public abstract ServerSocketChannel openServerSocketChannel(ProtocolFamily family)
+ throws IOException;
+
+ /**
* Opens a socket channel.
*
* @return The new channel
*
* @throws IOException
*** 258,267 ****
--- 270,292 ----
*/
public abstract SocketChannel openSocketChannel()
throws IOException;
/**
+ * Opens a socket channel.
+ *
+ * @param family The protocol family
+ *
+ * @return The new channel
+ *
+ * @throws IOException
+ * If an I/O error occurs
+ */
+ public abstract SocketChannel openSocketChannel(ProtocolFamily family)
+ throws IOException;
+
+ /**
* Returns the channel inherited from the entity that created this
* Java virtual machine.
*
* <p> On many operating systems a process, such as a Java virtual
* machine, can be started in a manner that allows the process to
< prev index next >