src/jdk.net/share/classes/jdk/net/RdmaSockets.java
branchrsocket-branch
changeset 57153 95c486f5c444
parent 57149 87484051dbba
child 57156 81e4a12fd1a4
equal deleted inserted replaced
57149:87484051dbba 57153:95c486f5c444
    78      * Creates an unbound and unconnected RDMA socket.
    78      * Creates an unbound and unconnected RDMA socket.
    79      *
    79      *
    80      * <p> An RDMA socket supports the socket options
    80      * <p> An RDMA socket supports the socket options
    81      * {@link java.net.StandardSocketOptions#SO_RCVBUF SO_RCVBUF},
    81      * {@link java.net.StandardSocketOptions#SO_RCVBUF SO_RCVBUF},
    82      * {@link java.net.StandardSocketOptions#SO_REUSEADDR SO_REUSEADDR},
    82      * {@link java.net.StandardSocketOptions#SO_REUSEADDR SO_REUSEADDR},
    83      * {@link java.net.StandardSocketOptions#SO_SNDBUF SO_SNDBUF}, and
    83      * {@link java.net.StandardSocketOptions#SO_SNDBUF SO_SNDBUF},
    84      * {@link java.net.StandardSocketOptions#TCP_NODELAY TCP_NODELAY}
    84      * {@link java.net.StandardSocketOptions#TCP_NODELAY TCP_NODELAY},
    85      * defined by {@link java.net.Socket java.net.Socket}. In addition,
    85      * and those specified by {@link RdmaSocketOptions}.
    86      * it supports the socket options specified by {@link RdmaSocketOptions}.
       
    87      *
    86      *
    88      * <p> When binding the socket to a local address, or invoking {@code
    87      * <p> When binding the socket to a local address, or invoking {@code
    89      * connect} to connect the socket, the socket address specified to those
    88      * connect} to connect the socket, the socket address specified to those
    90      * methods must correspond to the protocol family specified here.
    89      * methods must correspond to the protocol family specified here.
    91      *
    90      *
   110 
   109 
   111     /**
   110     /**
   112      * Creates an unbound RDMA server socket.
   111      * Creates an unbound RDMA server socket.
   113      *
   112      *
   114      * <p> An RDMA server socket supports the socket options
   113      * <p> An RDMA server socket supports the socket options
   115      * {@link java.net.StandardSocketOptions#SO_RCVBUF SO_RCVBUF} and
   114      * {@link java.net.StandardSocketOptions#SO_RCVBUF SO_RCVBUF},
   116      * {@link java.net.StandardSocketOptions#SO_REUSEADDR SO_REUSEADDR}
   115      * {@link java.net.StandardSocketOptions#SO_REUSEADDR SO_REUSEADDR},
   117      * defined by {@link java.net.ServerSocket java.net.ServerSocket}.
   116      * and those specified by {@link RdmaSocketOptions}.
   118      * In addition, it supports the socket options specified by
       
   119      * {@link RdmaSocketOptions}.
       
   120      *
   117      *
   121      * <p> When binding the socket to an address, the socket address specified
   118      * <p> When binding the socket to an address, the socket address specified
   122      * to the {@code bind} method must correspond to the protocol family
   119      * to the {@code bind} method must correspond to the protocol family
   123      * specified here.
   120      * specified here.
   124      *
   121      *
   149      * {@link SocketChannel#isConnected() connected}.
   146      * {@link SocketChannel#isConnected() connected}.
   150      *
   147      *
   151      * <p> A socket channel to an RDMA socket supports the socket options
   148      * <p> A socket channel to an RDMA socket supports the socket options
   152      * {@link java.net.StandardSocketOptions#SO_RCVBUF SO_RCVBUF},
   149      * {@link java.net.StandardSocketOptions#SO_RCVBUF SO_RCVBUF},
   153      * {@link java.net.StandardSocketOptions#SO_REUSEADDR SO_REUSEADDR},
   150      * {@link java.net.StandardSocketOptions#SO_REUSEADDR SO_REUSEADDR},
   154      * {@link java.net.StandardSocketOptions#SO_SNDBUF SO_SNDBUF}, and
   151      * {@link java.net.StandardSocketOptions#SO_SNDBUF SO_SNDBUF},
   155      * {@link java.net.StandardSocketOptions#TCP_NODELAY TCP_NODELAY}
   152      * {@link java.net.StandardSocketOptions#TCP_NODELAY TCP_NODELAY},
   156      * defined by {@link java.net.Socket java.net.Socket}. In addition,
   153      * and those specified by {@link RdmaSocketOptions}.
   157      * it supports the socket options specified by {@link RdmaSocketOptions}.
       
   158      *
   154      *
   159      * <p> When binding the channel's socket to a local address, or invoking
   155      * <p> When binding the channel's socket to a local address, or invoking
   160      * {@code connect} to connect channel's socket, the socket address specified
   156      * {@code connect} to connect channel's socket, the socket address specified
   161      * to those methods must correspond to the protocol family specified here.
   157      * to those methods must correspond to the protocol family specified here.
   162      *
   158      *
   183     /**
   179     /**
   184      * Opens a server socket channel to an RDMA socket. A newly created socket
   180      * Opens a server socket channel to an RDMA socket. A newly created socket
   185      * channel is {@link SocketChannel#isOpen() open} but not yet bound to a
   181      * channel is {@link SocketChannel#isOpen() open} but not yet bound to a
   186      * {@link SocketChannel#getLocalAddress() local address}.
   182      * {@link SocketChannel#getLocalAddress() local address}.
   187      *
   183      *
   188      * <p> A server socket channel to an RDMA server socket supports the
   184      * <p> A server socket channel to an RDMA server socket supports the socket
   189      * socket options
   185      * options {@link java.net.StandardSocketOptions#SO_RCVBUF SO_RCVBUF},
   190      * {@link java.net.StandardSocketOptions#SO_RCVBUF SO_RCVBUF} and
   186      * {@link java.net.StandardSocketOptions#SO_REUSEADDR SO_REUSEADDR},
   191      * {@link java.net.StandardSocketOptions#SO_REUSEADDR SO_REUSEADDR}
   187      * and those specified by {@link RdmaSocketOptions}.
   192      * defined by {@link java.net.ServerSocket java.net.ServerSocket}.
       
   193      * In addition, it supports the socket options specified by
       
   194      * {@link RdmaSocketOptions}.
       
   195      *
   188      *
   196      * <p> When binding the channel's socket to an address, the socket address
   189      * <p> When binding the channel's socket to an address, the socket address
   197      * specified to the {@code bind} method must correspond to the protocol
   190      * specified to the {@code bind} method must correspond to the protocol
   198      * family specified here.
   191      * family specified here.
   199      *
   192      *