equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
211 * @param bytesProduced |
211 * @param bytesProduced |
212 * the number of bytes placed into the destination ByteBuffer |
212 * the number of bytes placed into the destination ByteBuffer |
213 * |
213 * |
214 * @param sequenceNumber |
214 * @param sequenceNumber |
215 * the sequence number (unsigned long) of the produced or |
215 * the sequence number (unsigned long) of the produced or |
216 * consumed SSL/TLS/DTLS record, or ${@code -1L} if no record |
216 * consumed SSL/TLS/DTLS record, or {@code -1L} if no record |
217 * produced or consumed |
217 * produced or consumed |
218 * |
218 * |
219 * @throws IllegalArgumentException |
219 * @throws IllegalArgumentException |
220 * if the {@code status} or {@code handshakeStatus} |
220 * if the {@code status} or {@code handshakeStatus} |
221 * arguments are null, or if {@code bytesConsumed} or |
221 * arguments are null, or if {@code bytesConsumed} or |
297 * otherwise the connection should be closed immediately. |
297 * otherwise the connection should be closed immediately. |
298 * This should be carried on automatically by the underlying |
298 * This should be carried on automatically by the underlying |
299 * implementation. |
299 * implementation. |
300 * |
300 * |
301 * @return the sequence number of the produced or consumed SSL/TLS/DTLS |
301 * @return the sequence number of the produced or consumed SSL/TLS/DTLS |
302 * record; or ${@code -1L} if no record is produced or consumed, |
302 * record; or {@code -1L} if no record is produced or consumed, |
303 * or this operation is not supported by the underlying provider |
303 * or this operation is not supported by the underlying provider |
304 * |
304 * |
305 * @see java.lang.Long#compareUnsigned(long, long) |
305 * @see java.lang.Long#compareUnsigned(long, long) |
306 * |
306 * |
307 * @since 9 |
307 * @since 9 |