Home » activemq-parent-5.3.1-source-release » org.apache » activemq » transport » nio » [javadoc | source]
org.apache.activemq.transport.nio
public class: NIOBufferedInputStream [javadoc | source]
java.lang.Object
   java.io.InputStream
      org.apache.activemq.transport.nio.NIOBufferedInputStream

All Implemented Interfaces:
    Closeable

Implementation of InputStream using Java NIO channel,direct buffer and Selector
Constructor:
 public NIOBufferedInputStream(ReadableByteChannel channel) throws ClosedChannelException, IOException 
 public NIOBufferedInputStream(ReadableByteChannel channel,
    int size) throws ClosedChannelException, IOException 
Method from org.apache.activemq.transport.nio.NIOBufferedInputStream Summary:
available,   close,   read,   read,   skip
Methods from java.io.InputStream:
available,   close,   mark,   markSupported,   read,   read,   read,   reset,   skip
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.transport.nio.NIOBufferedInputStream Detail:
 public int available() throws IOException 
 public  void close() throws IOException 
 public int read() throws IOException 
 public int read(byte[] b,
    int off,
    int len) throws IOException 
 public long skip(long n) throws IOException