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

All Implemented Interfaces:
    Closeable

An optimized buffered input stream for Tcp
Field Summary
protected  byte[] internalBuffer     
protected  int count     
protected  int position     
Fields inherited from java.io.FilterInputStream:
in
Constructor:
 public TcpBufferedInputStream(InputStream in) 
 public TcpBufferedInputStream(InputStream in,
    int size) 
Method from org.apache.activemq.transport.tcp.TcpBufferedInputStream Summary:
available,   close,   fill,   markSupported,   read,   read,   skip
Methods from java.io.FilterInputStream:
available,   close,   mark,   markSupported,   read,   read,   read,   reset,   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.tcp.TcpBufferedInputStream Detail:
 public int available() throws IOException 
 public  void close() throws IOException 
 protected  void fill() throws IOException 
 public boolean markSupported() 
 public int read() throws IOException 
 public int read(byte[] b,
    int off,
    int len) throws IOException 
 public long skip(long n) throws IOException