P- the device type that generates the event to listener for.
B- the output buffer type.
public interface OutputRoundListener<P extends Device<? super P>,B extends java.nio.Buffer> extends DeviceEventListener, 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
AsyncErrorHandler interface 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, 2015, Oracle and/or its affiliates. All rights reserved.