JBoss Marshalling 1.3.0.CR9

org.jboss.marshalling
Interface NioByteInput.InputHandler

All Superinterfaces:
Closeable
Enclosing class:
NioByteInput

public static interface NioByteInput.InputHandler
extends 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 IOException
Acknowledges the successful processing of an input buffer. Though this method may throw an exception, it is not acted upon.

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

close

void close()
           throws IOException
Signifies that the user of the enclosing NioByteInput has called the close() method explicitly. Any thrown exception is propagated up to the caller of NioByteInput.close().

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

JBoss Marshalling 1.3.0.CR9

Copyright © 2011 JBoss, a division of Red Hat, Inc.