next up previous
Next: RemoteFileOutputStream Up: Remote File Classes Previous: RemoteFile

RemoteFileInputStream

An interface to a FileInputStream on the FileServer, this class allows reading data from a file remotely. It is a descendant of the InputStream class from which all input streams (including FileInputStream) descend.

For efficiency, this class uses a client-side helper thread to pre-fetch up to four blocks of 4096 bytes apiece. A read() operation will block until some data is available.



Michael John Radwin
Thu May 8 10:49:26 EDT 1997