[600] in java-interest

home help back first fref pref prev next nref lref last post

available() always returns 0?

daemon@ATHENA.MIT.EDU (Gary Joseph Bowdridge)
Thu Jul 6 13:20:09 1995

From: grover@ra.isisnet.com (Gary Joseph Bowdridge)
To: java-interest@java.Eng.Sun.COM
Date: Thu, 6 Jul 1995 07:32:19 -0300 (ADT)

the method (in class InputStream):

 public int available() {
        return 0;
    }


(obviously) always returns 0...   Has this simply not been implemented?
if not, i guess this brings me back to how do i do a non-blocking
read on a stream?

  I suppose its moot once i figure out how to send a thread off 
to do the reading... hints?

___
grover@ra.isisnet.com

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post