Package 

Class TCPInputStream

  • All Implemented Interfaces:
    java.io.Closeable , java.lang.AutoCloseable

    
    public class TCPInputStream
    extends InputStream
                        

    TCP input stream for TCP socket. It is used to multiplex sockets and keep the InputStream interface to users.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void close()
      int read()
      int read(Array<byte> b, int off, int len)
      long skip(long n)
      • Methods inherited from class java.io.InputStream

        available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TCPInputStream

        TCPInputStream(MultiplexingSocket socket)
        Initializes a new TCPInputStream.
        Parameters:
        socket - The inputStream for this instance.