Notification (Java SE 9 & JDK 9 )
Keywords: com.sun.nio.sctp.Notification interface

Module jdk.sctp
Package com.sun.nio.sctp

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Association` | `association​()` | Returns the association that this notification is applicable to.

- - ### Method Detail

    - #### association

          Association association​()

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