com.ibm.jtopenlite
Class HostServerConnection.HostInputStream

java.lang.Object
  extended by com.ibm.jtopenlite.HostServerConnection.HostInputStream
Enclosing class:
HostServerConnection

protected static final class HostServerConnection.HostInputStream
extends Object


Constructor Summary
HostServerConnection.HostInputStream(InputStream in)
           
 
Method Summary
 void close()
           
 void end()
          Used to note the end of a datastream when debugging is enabled.
 int read()
           
 int readByte()
           
 void readFully(byte[] b)
           
 void readFully(byte[] b, int offset, int length)
           
 int readInt()
           
 long readLong()
           
 int readShort()
           
 void setDebug(boolean debug)
           
 int skipBytes(int n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostServerConnection.HostInputStream

public HostServerConnection.HostInputStream(InputStream in)
Method Detail

setDebug

public void setDebug(boolean debug)

end

public void end()
Used to note the end of a datastream when debugging is enabled.


read

public int read()
         throws IOException
Throws:
IOException

readByte

public int readByte()
             throws IOException
Throws:
IOException

readShort

public int readShort()
              throws IOException
Throws:
IOException

readInt

public int readInt()
            throws IOException
Throws:
IOException

readLong

public long readLong()
              throws IOException
Throws:
IOException

skipBytes

public int skipBytes(int n)
              throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

readFully

public void readFully(byte[] b)
               throws IOException
Throws:
IOException

readFully

public void readFully(byte[] b,
                      int offset,
                      int length)
               throws IOException
Throws:
IOException