W3cubDocs

/OpenJDK 21

Interface Notification

All Known Implementing Classes:
AssociationChangeNotification, PeerAddressChangeNotification, SendFailedNotification, ShutdownNotification
public interface Notification
A notification from the SCTP stack.

Objects of this type are passed to the NotificationHandler when a notification is received.

An SCTP channel supports the following notifications: AssociationChangeNotification, PeerAddressChangeNotification, SendFailedNotification, ShutdownNotification, and may support additional implementation specific notifications.

Since:
1.7

Method Summary

Modifier and Type Method Description
Association association()
Returns the association that this notification is applicable to.

Method Details

association

Association association()
Returns the association that this notification is applicable to.
Returns:
The association

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.sctp/com/sun/nio/sctp/Notification.html