Class BackendFileInputStream

java.lang.Object
java.io.InputStream
edu.rit.pj.cluster.BackendFileInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class BackendFileInputStream extends InputStream
Class BackendFileInputStream provides an object in a job backend process that reads a sequential file in the job frontend process. A backend file input stream is not constructed directly, rather it is created by a factory method in class BackendFileReader.

Note: Class BackendFileInputStream does not do any buffering. Each method call sends a message to and receives a message from the job frontend. Consider layering a BufferedInputStream on top of the BackendFileInputStream.

Version:
20-Nov-2006
Author:
Alan Kaminsky