Class SctpNotificationHandler

  • All Implemented Interfaces:
    com.sun.nio.sctp.NotificationHandler<java.lang.Object>

    public final class SctpNotificationHandler
    extends com.sun.nio.sctp.AbstractNotificationHandler<java.lang.Object>
    AbstractNotificationHandler implementation which will handle all Notifications by trigger a Notification user event in the ChannelPipeline of a SctpChannel.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.sun.nio.sctp.HandlerResult handleNotification​(com.sun.nio.sctp.AssociationChangeNotification notification, java.lang.Object o)  
      com.sun.nio.sctp.HandlerResult handleNotification​(com.sun.nio.sctp.PeerAddressChangeNotification notification, java.lang.Object o)  
      com.sun.nio.sctp.HandlerResult handleNotification​(com.sun.nio.sctp.SendFailedNotification notification, java.lang.Object o)  
      com.sun.nio.sctp.HandlerResult handleNotification​(com.sun.nio.sctp.ShutdownNotification notification, java.lang.Object o)  
      • Methods inherited from class com.sun.nio.sctp.AbstractNotificationHandler

        handleNotification
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SctpNotificationHandler

        public SctpNotificationHandler​(SctpChannel sctpChannel)
    • Method Detail

      • handleNotification

        public com.sun.nio.sctp.HandlerResult handleNotification​(com.sun.nio.sctp.AssociationChangeNotification notification,
                                                                 java.lang.Object o)
        Overrides:
        handleNotification in class com.sun.nio.sctp.AbstractNotificationHandler<java.lang.Object>
      • handleNotification

        public com.sun.nio.sctp.HandlerResult handleNotification​(com.sun.nio.sctp.PeerAddressChangeNotification notification,
                                                                 java.lang.Object o)
        Overrides:
        handleNotification in class com.sun.nio.sctp.AbstractNotificationHandler<java.lang.Object>
      • handleNotification

        public com.sun.nio.sctp.HandlerResult handleNotification​(com.sun.nio.sctp.SendFailedNotification notification,
                                                                 java.lang.Object o)
        Overrides:
        handleNotification in class com.sun.nio.sctp.AbstractNotificationHandler<java.lang.Object>
      • handleNotification

        public com.sun.nio.sctp.HandlerResult handleNotification​(com.sun.nio.sctp.ShutdownNotification notification,
                                                                 java.lang.Object o)
        Overrides:
        handleNotification in class com.sun.nio.sctp.AbstractNotificationHandler<java.lang.Object>