com.ibm.jtopenlite

Class HostServerConnection.HostInputStream

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


    protected static final class HostServerConnection.HostInputStream
    extends java.lang.Object
    • Constructor Detail

      • HostServerConnection.HostInputStream

        public HostServerConnection.HostInputStream(java.io.InputStream in)
    • Method Detail

      • setAllDebug

        public static void setAllDebug(boolean debug)
      • resetLatestBytesReceived

        public void resetLatestBytesReceived()
      • getLatestBytesReceived

        public long getLatestBytesReceived()
      • getBytesReceived

        public long getBytesReceived()
      • 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 java.io.IOException
        Throws:
        java.io.IOException
      • readByte

        public int readByte()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • readShort

        public int readShort()
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • readInt

        public int readInt()
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • readLong

        public long readLong()
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • skipBytes

        public int skipBytes(int n)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • close

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

        public void readFully(byte[] b)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • readFully

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