2362N/A * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. 1096N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1096N/A * This code is free software; you can redistribute it and/or modify it 1096N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 1096N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 1096N/A * This code is distributed in the hope that it will be useful, but WITHOUT 1096N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1096N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1096N/A * version 2 for more details (a copy is included in the LICENSE file that 1096N/A * You should have received a copy of the GNU General Public License version 1096N/A * 2 along with this work; if not, write to the Free Software Foundation, 1096N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 1096N/A * Notification emitted when a send failed notification has been received. 1096N/A * <P> A send failed notification indicates that a message cannot be delivered. 1096N/A * Typically this is because the association has been shutdown with unsent data 1096N/A * in the socket output buffer, or in the case of a {@link SctpMultiChannel} 1096N/A * the association failed to setup. 1096N/A * Initializes a new instance of this class. 1096N/A * Returns the association that this notification is applicable to. 1096N/A * @return The association that failed to send, or {@code null} if 1096N/A * there is no association, that is, the notification follows a 1096N/A * com.sun.nio.sctp.AssociationChangeNotification.AssocChangeEvent#CANT_START} 1096N/A * @return The peer primary address of the association or the address that 1096N/A * Returns the data that was to be sent. 1096N/A * @return The user data. The buffers position will be {@code 0} and its 1096N/A * limit will be set to the end of the data. 1096N/A * <P> The errorCode gives the reason why the send failed, and if set, will 1096N/A * be a SCTP protocol error code as defined in RFC2960 section 3.3.10 1096N/A * Returns the stream number that the messge was to be sent on. 1096N/A * @return The stream number