< prev index next >

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

Print this page
rev 55750 : UDS support, temporary commit


  39 {
  40 
  41     public DatagramChannel openDatagramChannel() throws IOException {
  42         return new DatagramChannelImpl(this);
  43     }
  44 
  45     public DatagramChannel openDatagramChannel(ProtocolFamily family) throws IOException {
  46         return new DatagramChannelImpl(this, family);
  47     }
  48 
  49     public Pipe openPipe() throws IOException {
  50         return new PipeImpl(this);
  51     }
  52 
  53     public abstract AbstractSelector openSelector() throws IOException;
  54 
  55     public ServerSocketChannel openServerSocketChannel() throws IOException {
  56         return new ServerSocketChannelImpl(this);
  57     }
  58 





  59     public SocketChannel openSocketChannel() throws IOException {
  60         return new SocketChannelImpl(this);





  61     }
  62 }


  39 {
  40 
  41     public DatagramChannel openDatagramChannel() throws IOException {
  42         return new DatagramChannelImpl(this);
  43     }
  44 
  45     public DatagramChannel openDatagramChannel(ProtocolFamily family) throws IOException {
  46         return new DatagramChannelImpl(this, family);
  47     }
  48 
  49     public Pipe openPipe() throws IOException {
  50         return new PipeImpl(this);
  51     }
  52 
  53     public abstract AbstractSelector openSelector() throws IOException;
  54 
  55     public ServerSocketChannel openServerSocketChannel() throws IOException {
  56         return new ServerSocketChannelImpl(this);
  57     }
  58 
  59     @Override
  60     public ServerSocketChannel openServerSocketChannel(ProtocolFamily family) throws IOException {
  61         return new ServerSocketChannelImpl(this, family);
  62     }
  63 
  64     public SocketChannel openSocketChannel() throws IOException {
  65         return new SocketChannelImpl(this);
  66     }
  67 
  68     @Override
  69     public SocketChannel openSocketChannel(ProtocolFamily family) throws IOException {
  70         return new SocketChannelImpl(this, family);
  71     }
  72 }
< prev index next >