P- the peripheral type that generates the event to listener for.
B- the output buffer type.
public interface OutputRoundListener<P extends Peripheral<? super P>,B extends java.nio.Buffer> extends PeripheralEventListener, AsyncErrorHandler<P>
OutputRoundListenerinterface defines methods for getting notified of the completion of an output round. An
OutputRoundListenergets invoked for each of the successive rounds of an output operation when the data has been output and the output buffer is available for copying more data to output. This interface also extends the
AsyncErrorHandlerinterface for getting notified of asynchronous I/O errors.
|Modifier and Type||Method and Description|
Invoked when the data has been output and the output buffer is available for copying more data to output or when an output underrun error occurred.
Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved.