P- the device type that generates the event to listener for.
B- the input buffer type.
public interface InputRoundListener<P extends Device<? super P>,B extends java.nio.Buffer> extends DeviceEventListener, AsyncErrorHandler<P>
InputRoundListenerinterface defines methods for getting notified of the completion of an input round. An
InputRoundListenergets invoked for each of the successive rounds of an input operation when the input buffer has been filled in and input data is available for processing. This interface also extends the
AsyncErrorHandlerinterface for getting notified of asynchronous I/O errors.
|Modifier and Type||Method and Description|
Invoked when an input buffer has been filled and input data is available for processing or when an input overrun error occurred.
void inputRoundCompleted(RoundCompletionEvent<P,B> event)
event- the event that occurred.
Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved.