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

com/sun/nio/sctp/NotificationHandler.java

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

/**
 * A handler for consuming notifications from the SCTP stack.
 *
 * <P> The SCTP channels defined in this package allow a notification handler to
 * be specified to consume notifications from the SCTP stack. When a
 * notification is received the {@linkplain #handleNotification
 * handleNotification} method of the handler is invoked to handle that
 * notification.
 *
 * <P> Additionally, an attachment object can be attached to the {@code receive}
 * operation to provide context when consuming the notification. The
 * attachment is important for cases where a <i>state-less</i> {@code
 * NotificationHandler} is used to consume the result of many {@code receive}
 * operations.
 *
 * <P> Handler implementations are encouraged to extend the {@link
 * AbstractNotificationHandler} class which implements this interface and
 * provide notification specific methods. However, an API should generally use
 * this handler interface as the type for parameters, return type, etc. rather
 * than the abstract class.
 *
 * @param  T  The type of the object attached to the receive operation
 *
 * @since 1.7
 */
public interface NotificationHandler<T> {
    /**
     * Invoked when a notification is received from the SCTP stack.
     *
     * @param  notification
     *         The notification
     *
     * @param  attachment
     *         The object attached to the receive operation when it was initiated.
     *
     * @return  The handler result
     */
    HandlerResult handleNotification(Notification notification, T attachment);
}

com/sun/nio/sctp/NotificationHandler.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, 9411👍, 0💬