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>
InputRoundListener
interface defines methods for getting notified of the completion
of an input round. An InputRoundListener
gets 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 AsyncErrorHandler
interface for getting notified of
asynchronous I/O errors.Modifier and Type | Method and Description |
---|---|
void |
inputRoundCompleted(RoundCompletionEvent<P,B> event)
Invoked when an input buffer has been filled and input data is available for processing or
when an input overrun error occurred.
|
failed
void inputRoundCompleted(RoundCompletionEvent<P,B> event)
event
- the event that occurred.Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved.
Legal Notices