20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25 package com.sun.nio.sctp;
26
27 /**
28 * A notification from the SCTP stack.
29 *
30 * <P> Objects of this type are passed to the {@link NotificationHandler} when
31 * a notification is received.
32 *
33 * <P> An SCTP channel supports the following notifications: {@link
34 * AssociationChangeNotification}, {@link PeerAddressChangeNotification},
35 * {@link SendFailedNotification}, {@link ShutdownNotification}, and may support
36 * additional implementation specific notifications.
37 *
38 * @since 1.7
39 */
40 public interface Notification {
41 /**
42 * Returns the association that this notification is applicable to.
43 */
44 public Association association();
45 }
|
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25 package com.sun.nio.sctp;
26
27 /**
28 * A notification from the SCTP stack.
29 *
30 * <P> Objects of this type are passed to the {@link NotificationHandler} when
31 * a notification is received.
32 *
33 * <P> An SCTP channel supports the following notifications: {@link
34 * AssociationChangeNotification}, {@link PeerAddressChangeNotification},
35 * {@link SendFailedNotification}, {@link ShutdownNotification}, and may support
36 * additional implementation specific notifications.
37 *
38 * @since 1.7
39 */
40 @jdk.Supported
41 public interface Notification {
42 /**
43 * Returns the association that this notification is applicable to.
44 */
45 public Association association();
46 }
|