org.caleigo.toolkit.tunnel
Class HTTPTunnelServer.HTTPInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byorg.caleigo.toolkit.tunnel.HTTPTunnelServer.HTTPInputStream
Enclosing class:
HTTPTunnelServer

protected class HTTPTunnelServer.HTTPInputStream
extends java.io.InputStream


Field Summary
protected  CircularByteBuffer mBuffer
           
protected  boolean mClosed
           
protected  boolean mEOF
           
protected  byte[] mSingleByteBuffer
           
 
Constructor Summary
HTTPTunnelServer.HTTPInputStream(int bufferSize)
           
 
Method Summary
protected  void addInputData(byte[] data)
           
 int available()
           
 void close()
           
protected  void eof()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 
Methods inherited from class java.io.InputStream
mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mSingleByteBuffer

protected byte[] mSingleByteBuffer

mBuffer

protected CircularByteBuffer mBuffer

mEOF

protected boolean mEOF

mClosed

protected boolean mClosed
Constructor Detail

HTTPTunnelServer.HTTPInputStream

public HTTPTunnelServer.HTTPInputStream(int bufferSize)
Method Detail

available

public int available()
              throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

read

public int read()
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Throws:
java.io.IOException

addInputData

protected void addInputData(byte[] data)

eof

protected void eof()


Copyright © 2005 Caleigo. All Rights Reserved.