com.ibm.jtopenlite
Class HostServerConnection.HostInputStream
java.lang.Object
com.ibm.jtopenlite.HostServerConnection.HostInputStream
- Enclosing class:
- HostServerConnection
protected static final class HostServerConnection.HostInputStream
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostServerConnection.HostInputStream
public HostServerConnection.HostInputStream(InputStream in)
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