com.github.shyiko.mysql.binlog.io
Class BufferedSocketInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by com.github.shyiko.mysql.binlog.io.BufferedSocketInputStream
All Implemented Interfaces:
Closeable

public class BufferedSocketInputStream
extends FilterInputStream

Author:
Stanley Shyiko

Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
BufferedSocketInputStream(InputStream in)
           
BufferedSocketInputStream(InputStream in, int bufferSize)
           
 
Method Summary
 int available()
           
 int read()
           
 
Methods inherited from class java.io.FilterInputStream
close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferedSocketInputStream

public BufferedSocketInputStream(InputStream in)

BufferedSocketInputStream

public BufferedSocketInputStream(InputStream in,
                                 int bufferSize)
Method Detail

available

public int available()
              throws IOException
Overrides:
available in class FilterInputStream
Throws:
IOException

read

public int read()
         throws IOException
Overrides:
read in class FilterInputStream
Throws:
IOException


Copyright © 2015. All Rights Reserved.