JDK 11 jdk.sctp.jmod - SCTP Module

JDK 11 jdk.sctp.jmod is the JMOD file for JDK 11 SCTP module.

JDK 11 SCTP module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.sctp.jmod.

JDK 11 SCTP module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.

JDK 11 SCTP module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.sctp.

You can click and view the content of each source code file in the list below.

✍: FYIcenter

sun/nio/ch/sctp/SctpStdSocketOption.java

/*
 * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */
package sun.nio.ch.sctp;

import com.sun.nio.sctp.SctpSocketOption;
import java.lang.annotation.Native;

public class SctpStdSocketOption<T>
    implements SctpSocketOption<T>
{
    /* for native mapping of int options */
    @Native public static final int SCTP_DISABLE_FRAGMENTS = 1;
    @Native public static final int SCTP_EXPLICIT_COMPLETE = 2;
    @Native public static final int SCTP_FRAGMENT_INTERLEAVE = 3;
    @Native public static final int SCTP_NODELAY = 4;
    @Native public static final int SO_SNDBUF = 5;
    @Native public static final int SO_RCVBUF = 6;
    @Native public static final int SO_LINGER = 7;

    private final String name;
    private final Class<T> type;

    /* for native mapping of int options */
    private int constValue;

    public SctpStdSocketOption(String name, Class<T> type) {
        this.name = name;
        this.type = type;
    }

    public SctpStdSocketOption(String name, Class<T> type, int constValue) {
        this.name = name;
        this.type = type;
        this.constValue = constValue;
    }

    @Override
    public String name() {
        return name;
    }

    @Override
    public Class<T> type() {
        return type;
    }

    @Override
    public String toString() {
        return name;
    }

    int constValue() {
        return constValue;
    }
}

sun/nio/ch/sctp/SctpStdSocketOption.java

 

Or download all of them as a single archive file:

File name: jdk.sctp-11.0.1-src.zip
File size: 41822 bytes
Release date: 2018-11-04
Download 

 

JDK 11 jdk.security.auth.jmod - Security Auth Module

JDK 11 jdk.scripting.nashorn.shell.jmod - Scripting Nashorn Shell Module

Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2020-04-14, 9372👍, 0💬