This class trivially implements the handleNotification methods to
return CONTINUE so that all notifications are
consumed and the channel continues to try and receive a message.
It also provides overloaded versions of the handleNotification
methods, one for each of the required supported notification types, AssociationChangeNotification, PeerAddressChangeNotification,
SendFailedNotification, and ShutdownNotification. The
appropriate method will be invoked when the notification is received.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public HandlerResult | Returns: The handler resultThe notification notification, T The object attached to the attachment)receive operation when it was
initiated.Implements com. Invoked when an implementation specific notification is received from the SCTP stack. |
| public HandlerResult | Returns: The handler resultThe notification notification, T The object attached to the attachment)receive operation when it was
initiated.Invoked when an |
| public HandlerResult | Returns: The handler resultThe notification notification, T The object attached to the attachment)receive operation when it was
initiated.Invoked when an |
| public HandlerResult | Returns: The handler resultThe notification notification, T The object attached to the attachment)receive operation when it was
initiated.Invoked when an |
| public HandlerResult | Returns: The handler resultThe notification notification, T The object attached to the attachment)receive operation when it was
initiated.Invoked when an |
| AbstractNotificationHandler | back to summary |
|---|---|
| protected AbstractNotificationHandler() Initializes a new instance of this class. | |
| handleNotification | back to summary |
|---|---|
| public HandlerResult handleNotification(Notification notification, T attachment) Implements com. Invoked when an implementation specific notification is received from the SCTP stack.
| |
| handleNotification | back to summary |
|---|---|
| public HandlerResult handleNotification(AssociationChangeNotification notification, T attachment) Invoked when an
| |
| handleNotification | back to summary |
|---|---|
| public HandlerResult handleNotification(PeerAddressChangeNotification notification, T attachment) Invoked when an
| |
| handleNotification | back to summary |
|---|---|
| public HandlerResult handleNotification(SendFailedNotification notification, T attachment) Invoked when an
| |
| handleNotification | back to summary |
|---|---|
| public HandlerResult handleNotification(ShutdownNotification notification, T attachment) Invoked when an
| |