org.jboss.marshalling
Interface NioByteInput.InputHandler

All Superinterfaces:
java.io.Closeable
Enclosing class:
NioByteInput

public static interface NioByteInput.InputHandler
extends java.io.Closeable

A handler for events relating to the consumption of data from a NioByteInput instance.


Method Summary
 void acknowledge()
          Acknowledges the successful processing of an input buffer.
 void close()
          Signifies that the user of the enclosing NioByteInput has called the close() method explicitly.
 

Method Detail

acknowledge

void acknowledge()
                 throws java.io.IOException
Acknowledges the successful processing of an input buffer.

Throws:
java.io.IOException - if an I/O error occurs sending the acknowledgement

close

void close()
           throws java.io.IOException
Signifies that the user of the enclosing NioByteInput has called the close() method explicitly.

Specified by:
close in interface java.io.Closeable
Throws:
java.io.IOException - if an I/O error occurs


Copyright © 2009. All Rights Reserved.