public final class SctpNotificationHandler extends AbstractNotificationHandler<java.lang.Object>
AbstractNotificationHandler
implementation which will handle all Notification
s by trigger a
Notification
user event in the ChannelPipeline
of a SctpChannel
.Modifier and Type | Field and Description |
---|---|
private SctpChannel |
sctpChannel |
Constructor and Description |
---|
SctpNotificationHandler(SctpChannel sctpChannel) |
Modifier and Type | Method and 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) |
handleNotification
private final SctpChannel sctpChannel
public SctpNotificationHandler(SctpChannel sctpChannel)
public HandlerResult handleNotification(AssociationChangeNotification notification, java.lang.Object o)
handleNotification
in class AbstractNotificationHandler<java.lang.Object>
public HandlerResult handleNotification(PeerAddressChangeNotification notification, java.lang.Object o)
handleNotification
in class AbstractNotificationHandler<java.lang.Object>
public HandlerResult handleNotification(SendFailedNotification notification, java.lang.Object o)
handleNotification
in class AbstractNotificationHandler<java.lang.Object>
public HandlerResult handleNotification(ShutdownNotification notification, java.lang.Object o)
handleNotification
in class AbstractNotificationHandler<java.lang.Object>
private void fireEvent(Notification notification)