|
XNIO API 3.0.4.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface BufferPipeInputStream.InputHandler

A handler for events relating to the consumption of data from a BufferPipeInputStream instance.
| Method Summary | |
|---|---|
void |
acknowledge(Pooled<ByteBuffer> pooled)
Acknowledges the successful processing of an input buffer. |
void |
close()
Signifies that the user of the enclosing BufferPipeInputStream has called the close() method
explicitly. |
| Method Detail |
|---|
void acknowledge(Pooled<ByteBuffer> pooled)
throws IOException
pooled - the pooled resource which was consumed
IOException - if an I/O error occurs sending the acknowledgement
void close()
throws IOException
BufferPipeInputStream has called the close() method
explicitly. Any thrown exception is propagated up to the caller of NioByteInput.close().
close in interface CloseableIOException - if an I/O error occurs
|
XNIO API 3.0.4.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||