src/jdk.net/share/classes/jdk/net/RdmaSockets.java
branchrsocket-branch
changeset 57142 78d016915473
parent 57123 919516f93dcf
child 57149 87484051dbba
equal deleted inserted replaced
57134:096bba76efd1 57142:78d016915473
    89      *          The protocol family
    89      *          The protocol family
    90      *
    90      *
    91      * @throws IOException
    91      * @throws IOException
    92      *         If an I/O error occurs
    92      *         If an I/O error occurs
    93      * @throws NullPointerException
    93      * @throws NullPointerException
    94      *         If name is {@code null}
    94      *         If {@code family} is {@code null}
    95      * @throws UnsupportedOperationException
    95      * @throws UnsupportedOperationException
    96      *         If RDMA sockets are not supported on this platform or if the
    96      *         If RDMA sockets are not supported on this platform or if the
    97      *         specified protocol family is not supported. For example, if
    97      *         specified protocol family is not supported. For example, if
    98      *         the parameter is {@link java.net.StandardProtocolFamily#INET6
    98      *         the parameter is {@link java.net.StandardProtocolFamily#INET6
    99      *         StandardProtocolFamily.INET6} but IPv6 is not enabled on the
    99      *         StandardProtocolFamily.INET6} but IPv6 is not enabled on the
   118      *          The protocol family
   118      *          The protocol family
   119      *
   119      *
   120      * @throws IOException
   120      * @throws IOException
   121      *         If an I/O error occurs
   121      *         If an I/O error occurs
   122      * @throws NullPointerException
   122      * @throws NullPointerException
   123      *         If name is {@code null}
   123      *         If {@code family} is {@code null}
   124      * @throws UnsupportedOperationException
   124      * @throws UnsupportedOperationException
   125      *         If RDMA sockets are not supported on this platform or if the
   125      *         If RDMA sockets are not supported on this platform or if the
   126      *         specified protocol family is not supported. For example, if
   126      *         specified protocol family is not supported. For example, if
   127      *         the parameter is {@link java.net.StandardProtocolFamily#INET6
   127      *         the parameter is {@link java.net.StandardProtocolFamily#INET6
   128      *         StandardProtocolFamily.INET6} but IPv6 is not enabled on the
   128      *         StandardProtocolFamily.INET6} but IPv6 is not enabled on the
   139      * is {@link SocketChannel#isOpen() open}, not yet bound to a {@link
   139      * is {@link SocketChannel#isOpen() open}, not yet bound to a {@link
   140      * SocketChannel#getLocalAddress() local address}, and not yet
   140      * SocketChannel#getLocalAddress() local address}, and not yet
   141      * {@link SocketChannel#isConnected() connected}.
   141      * {@link SocketChannel#isConnected() connected}.
   142      *
   142      *
   143      * <p> A socket channel to an RDMA socket supports all of the socket options
   143      * <p> A socket channel to an RDMA socket supports all of the socket options
   144      * specified by {@code SocketChannel}. In addition, it supports the
   144      * specified by {@link SocketChannel java.nio.channels.SocketChannel}. In
   145      * socket options specified by {@link RdmaSocketOptions}.
   145      * addition, it supports the socket options specified by
       
   146      * {@link RdmaSocketOptions}.
   146      *
   147      *
   147      * <p> When binding the channel's socket to a local address, or invoking
   148      * <p> When binding the channel's socket to a local address, or invoking
   148      * {@code connect} to connect channel's socket, the socket address specified
   149      * {@code connect} to connect channel's socket, the socket address specified
   149      * to those methods must correspond to the protocol family specified here.
   150      * to those methods must correspond to the protocol family specified here.
   150      *
   151      *
   152      *          The protocol family
   153      *          The protocol family
   153      *
   154      *
   154      * @throws IOException
   155      * @throws IOException
   155      *         If an I/O error occurs
   156      *         If an I/O error occurs
   156      * @throws NullPointerException
   157      * @throws NullPointerException
   157      *         If name is {@code null}
   158      *         If {@code family} is {@code null}
   158      * @throws UnsupportedOperationException
   159      * @throws UnsupportedOperationException
   159      *         If RDMA sockets are not supported on this platform or if the
   160      *         If RDMA sockets are not supported on this platform or if the
   160      *         specified protocol family is not supported. For example, if
   161      *         specified protocol family is not supported. For example, if
   161      *         the parameter is {@link java.net.StandardProtocolFamily#INET6
   162      *         the parameter is {@link java.net.StandardProtocolFamily#INET6
   162      *         StandardProtocolFamily.INET6} but IPv6 is not enabled on the
   163      *         StandardProtocolFamily.INET6} but IPv6 is not enabled on the
   181      *          The protocol family
   182      *          The protocol family
   182      *
   183      *
   183      * @throws IOException
   184      * @throws IOException
   184      *         If an I/O error occurs
   185      *         If an I/O error occurs
   185      * @throws NullPointerException
   186      * @throws NullPointerException
   186      *         If name is {@code null}
   187      *         If {@code family} is {@code null}
   187      * @throws UnsupportedOperationException
   188      * @throws UnsupportedOperationException
   188      *         If RDMA sockets are not supported on this platform or if the
   189      *         If RDMA sockets are not supported on this platform or if the
   189      *         specified protocol family is not supported. For example, if
   190      *         specified protocol family is not supported. For example, if
   190      *         the parameter is {@link java.net.StandardProtocolFamily#INET6
   191      *         the parameter is {@link java.net.StandardProtocolFamily#INET6
   191      *         StandardProtocolFamily.INET6} but IPv6 is not enabled on the
   192      *         StandardProtocolFamily.INET6} but IPv6 is not enabled on the