com.sun.nio.sctp.SendFailedNotification Java Examples

The following examples show how to use com.sun.nio.sctp.SendFailedNotification. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SctpNotificationHandler.java    From netty-4.1.22 with Apache License 2.0 4 votes vote down vote up
@Override
public HandlerResult handleNotification(SendFailedNotification notification, Object o) {
    fireEvent(notification);
    return HandlerResult.CONTINUE;
}
 
Example #2
Source File: SctpNotificationHandler.java    From netty4.0.27Learn with Apache License 2.0 4 votes vote down vote up
@Override
public HandlerResult handleNotification(SendFailedNotification notification, Object o) {
    fireEvent(notification);
    return HandlerResult.CONTINUE;
}
 
Example #3
Source File: AssociationHandler.java    From sctp with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
	public HandlerResult handleNotification(SendFailedNotification notification, AssociationImpl associtaion) {
//        logger.error(String.format("Association=%s SendFailedNotification", associtaion.getName()));
        logger.error(String.format("Association=" + associtaion.getName() + " SendFailedNotification, errorCode=" + notification.errorCode()));
		return HandlerResult.RETURN;
	}