Package io.netty.channel.sctp
Class SctpNotificationHandler
- java.lang.Object
-
- com.sun.nio.sctp.AbstractNotificationHandler<java.lang.Object>
-
- io.netty.channel.sctp.SctpNotificationHandler
-
- All Implemented Interfaces:
NotificationHandler<java.lang.Object>
public final class SctpNotificationHandler extends AbstractNotificationHandler<java.lang.Object>
AbstractNotificationHandler
implementation which will handle allNotification
s by trigger aNotification
user event in theChannelPipeline
of aSctpChannel
.
-
-
Field Summary
Fields Modifier and Type Field Description private SctpChannel
sctpChannel
-
Constructor Summary
Constructors Constructor Description SctpNotificationHandler(SctpChannel sctpChannel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
fireEvent(Notification notification)
HandlerResult
handleNotification(AssociationChangeNotification notification, java.lang.Object o)
HandlerResult
handleNotification(PeerAddressChangeNotification notification, java.lang.Object o)
HandlerResult
handleNotification(SendFailedNotification notification, java.lang.Object o)
HandlerResult
handleNotification(ShutdownNotification notification, java.lang.Object o)
-
Methods inherited from class com.sun.nio.sctp.AbstractNotificationHandler
handleNotification
-
-
-
-
Field Detail
-
sctpChannel
private final SctpChannel sctpChannel
-
-
Constructor Detail
-
SctpNotificationHandler
public SctpNotificationHandler(SctpChannel sctpChannel)
-
-
Method Detail
-
handleNotification
public HandlerResult handleNotification(AssociationChangeNotification notification, java.lang.Object o)
- Overrides:
handleNotification
in classAbstractNotificationHandler<java.lang.Object>
-
handleNotification
public HandlerResult handleNotification(PeerAddressChangeNotification notification, java.lang.Object o)
- Overrides:
handleNotification
in classAbstractNotificationHandler<java.lang.Object>
-
handleNotification
public HandlerResult handleNotification(SendFailedNotification notification, java.lang.Object o)
- Overrides:
handleNotification
in classAbstractNotificationHandler<java.lang.Object>
-
handleNotification
public HandlerResult handleNotification(ShutdownNotification notification, java.lang.Object o)
- Overrides:
handleNotification
in classAbstractNotificationHandler<java.lang.Object>
-
fireEvent
private void fireEvent(Notification notification)
-
-