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>
AbstractNotificationHandlerimplementation which will handle allNotifications by trigger aNotificationuser event in theChannelPipelineof aSctpChannel.
-
-
Field Summary
Fields Modifier and Type Field Description private SctpChannelsctpChannel
-
Constructor Summary
Constructors Constructor Description SctpNotificationHandler(SctpChannel sctpChannel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidfireEvent(Notification notification)HandlerResulthandleNotification(AssociationChangeNotification notification, java.lang.Object o)HandlerResulthandleNotification(PeerAddressChangeNotification notification, java.lang.Object o)HandlerResulthandleNotification(SendFailedNotification notification, java.lang.Object o)HandlerResulthandleNotification(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:
handleNotificationin classAbstractNotificationHandler<java.lang.Object>
-
handleNotification
public HandlerResult handleNotification(PeerAddressChangeNotification notification, java.lang.Object o)
- Overrides:
handleNotificationin classAbstractNotificationHandler<java.lang.Object>
-
handleNotification
public HandlerResult handleNotification(SendFailedNotification notification, java.lang.Object o)
- Overrides:
handleNotificationin classAbstractNotificationHandler<java.lang.Object>
-
handleNotification
public HandlerResult handleNotification(ShutdownNotification notification, java.lang.Object o)
- Overrides:
handleNotificationin classAbstractNotificationHandler<java.lang.Object>
-
fireEvent
private void fireEvent(Notification notification)
-
-