< prev index next >

src/java.base/share/classes/sun/nio/ch/SelectorProviderImpl.java

Print this page
rev 55750 : UDS support, temporary commit

@@ -54,9 +54,19 @@
 
     public ServerSocketChannel openServerSocketChannel() throws IOException {
         return new ServerSocketChannelImpl(this);
     }
 
+    @Override
+    public ServerSocketChannel openServerSocketChannel(ProtocolFamily family) throws IOException {
+        return new ServerSocketChannelImpl(this, family);
+    }
+
     public SocketChannel openSocketChannel() throws IOException {
         return new SocketChannelImpl(this);
     }
+
+    @Override
+    public SocketChannel openSocketChannel(ProtocolFamily family) throws IOException {
+        return new SocketChannelImpl(this, family);
+    }
 }
< prev index next >