Java Code Examples for sun.nio.ch.IOUtil#newFD()

The following examples show how to use sun.nio.ch.IOUtil#newFD() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SctpNet.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
static FileDescriptor branch(int fd, int assocId) throws IOException {
    int nativefd = branch0(fd, assocId);
    return IOUtil.newFD(nativefd);
}
 
Example 2
Source File: SctpNet.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
static FileDescriptor branch(int fd, int assocId) throws IOException {
    int nativefd = branch0(fd, assocId);
    return IOUtil.newFD(nativefd);
}
 
Example 3
Source File: SctpNet.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
static FileDescriptor branch(int fd, int assocId) throws IOException {
    int nativefd = branch0(fd, assocId);
    return IOUtil.newFD(nativefd);
}
 
Example 4
Source File: SctpNet.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
static FileDescriptor branch(int fd, int assocId) throws IOException {
    int nativefd = branch0(fd, assocId);
    return IOUtil.newFD(nativefd);
}
 
Example 5
Source File: SctpNet.java    From jdk8u-jdk with GNU General Public License v2.0 4 votes vote down vote up
static FileDescriptor branch(int fd, int assocId) throws IOException {
    int nativefd = branch0(fd, assocId);
    return IOUtil.newFD(nativefd);
}
 
Example 6
Source File: SctpNet.java    From jdk8u_jdk with GNU General Public License v2.0 4 votes vote down vote up
static FileDescriptor branch(int fd, int assocId) throws IOException {
    int nativefd = branch0(fd, assocId);
    return IOUtil.newFD(nativefd);
}
 
Example 7
Source File: SctpNet.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
static FileDescriptor branch(int fd, int assocId) throws IOException {
    int nativefd = branch0(fd, assocId);
    return IOUtil.newFD(nativefd);
}
 
Example 8
Source File: SctpNet.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
static FileDescriptor branch(int fd, int assocId) throws IOException {
    int nativefd = branch0(fd, assocId);
    return IOUtil.newFD(nativefd);
}
 
Example 9
Source File: SctpNet.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
static FileDescriptor branch(int fd, int assocId) throws IOException {
    int nativefd = branch0(fd, assocId);
    return IOUtil.newFD(nativefd);
}
 
Example 10
Source File: SctpNet.java    From openjdk-jdk8u with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param  oneToOne
 *         if {@code true} returns a one-to-one sctp socket, otherwise
 *         returns a one-to-many sctp socket
 */
static FileDescriptor socket(boolean oneToOne) throws IOException {
    int nativefd = socket0(oneToOne);
    return IOUtil.newFD(nativefd);
}
 
Example 11
Source File: SctpNet.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param  oneToOne
 *         if {@code true} returns a one-to-one sctp socket, otherwise
 *         returns a one-to-many sctp socket
 */
static FileDescriptor socket(boolean oneToOne) throws IOException {
    int nativefd = socket0(oneToOne);
    return IOUtil.newFD(nativefd);
}
 
Example 12
Source File: SctpNet.java    From jdk8u_jdk with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param  oneToOne
 *         if {@code true} returns a one-to-one sctp socket, otherwise
 *         returns a one-to-many sctp socket
 */
static FileDescriptor socket(boolean oneToOne) throws IOException {
    int nativefd = socket0(oneToOne);
    return IOUtil.newFD(nativefd);
}
 
Example 13
Source File: SctpNet.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param  oneToOne
 *         if {@code true} returns a one-to-one sctp socket, otherwise
 *         returns a one-to-many sctp socket
 */
static FileDescriptor socket(boolean oneToOne) throws IOException {
    int nativefd = socket0(oneToOne);
    return IOUtil.newFD(nativefd);
}
 
Example 14
Source File: SctpNet.java    From jdk8u-jdk with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param  oneToOne
 *         if {@code true} returns a one-to-one sctp socket, otherwise
 *         returns a one-to-many sctp socket
 */
static FileDescriptor socket(boolean oneToOne) throws IOException {
    int nativefd = socket0(oneToOne);
    return IOUtil.newFD(nativefd);
}
 
Example 15
Source File: SctpNet.java    From jdk8u60 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param  oneToOne
 *         if {@code true} returns a one-to-one sctp socket, otherwise
 *         returns a one-to-many sctp socket
 */
static FileDescriptor socket(boolean oneToOne) throws IOException {
    int nativefd = socket0(oneToOne);
    return IOUtil.newFD(nativefd);
}
 
Example 16
Source File: SctpNet.java    From hottub with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param  oneToOne
 *         if {@code true} returns a one-to-one sctp socket, otherwise
 *         returns a one-to-many sctp socket
 */
static FileDescriptor socket(boolean oneToOne) throws IOException {
    int nativefd = socket0(oneToOne);
    return IOUtil.newFD(nativefd);
}
 
Example 17
Source File: SctpNet.java    From openjdk-8-source with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param  oneToOne
 *         if {@code true} returns a one-to-one sctp socket, otherwise
 *         returns a one-to-many sctp socket
 */
static FileDescriptor socket(boolean oneToOne) throws IOException {
    int nativefd = socket0(oneToOne);
    return IOUtil.newFD(nativefd);
}
 
Example 18
Source File: SctpNet.java    From TencentKona-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param  oneToOne
 *         if {@code true} returns a one-to-one sctp socket, otherwise
 *         returns a one-to-many sctp socket
 */
static FileDescriptor socket(boolean oneToOne) throws IOException {
    int nativefd = socket0(oneToOne);
    return IOUtil.newFD(nativefd);
}
 
Example 19
Source File: SctpNet.java    From openjdk-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param  oneToOne
 *         if {@code true} returns a one-to-one sctp socket, otherwise
 *         returns a one-to-many sctp socket
 */
static FileDescriptor socket(boolean oneToOne) throws IOException {
    int nativefd = socket0(oneToOne);
    return IOUtil.newFD(nativefd);
}
 
Example 20
Source File: SctpNet.java    From dragonwell8_jdk with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param  oneToOne
 *         if {@code true} returns a one-to-one sctp socket, otherwise
 *         returns a one-to-many sctp socket
 */
static FileDescriptor socket(boolean oneToOne) throws IOException {
    int nativefd = socket0(oneToOne);
    return IOUtil.newFD(nativefd);
}