src/java.base/share/classes/java/nio/channels/spi/SelectorProvider.java
branchunixdomainchannels
changeset 58801 119ac9128c1b
parent 55026 a8673ccddffd
equal deleted inserted replaced
58799:eb491334113f 58801:119ac9128c1b
   315      *          If a security manager has been installed and it denies
   315      *          If a security manager has been installed and it denies
   316      *          {@link RuntimePermission}{@code ("inheritedChannel")}
   316      *          {@link RuntimePermission}{@code ("inheritedChannel")}
   317      *
   317      *
   318      * @since 1.5
   318      * @since 1.5
   319      */
   319      */
   320    public Channel inheritedChannel() throws IOException {
   320     public Channel inheritedChannel() throws IOException {
   321         return null;
   321         return null;
   322    }
   322     }
   323 
   323 
       
   324     /**
       
   325      * Returns a {@link SocketChannel} from the given protocol family.
       
   326      *
       
   327      * @param family the protocol family
       
   328      *
       
   329      * @return a SocketChannel
       
   330      *
       
   331      * @throws IOException if an I/O error occurs
       
   332      * @throws UnsupportedAddressTypeException if the protocol family not supported
       
   333      *
       
   334      * @since 14
       
   335      */
       
   336     public SocketChannel openSocketChannel(ProtocolFamily family) throws IOException {
       
   337         return null;
       
   338     }
       
   339 
       
   340     /**
       
   341      * Returns a {@link ServerSocketChannel} from the given protocol family.
       
   342      *
       
   343      * @param family the protocol family
       
   344      *
       
   345      * @return a ServerSocketChannel
       
   346      *
       
   347      * @throws IOException if an I/O error occurs
       
   348      * @throws UnsupportedAddressTypeException if the protocol family not supported
       
   349      *
       
   350      * @since 14
       
   351      */
       
   352     public ServerSocketChannel openServerSocketChannel(ProtocolFamily family) throws IOException {
       
   353         return null;
       
   354     }
   324 }
   355 }