All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface duckMachine.architecture.ioUnitI

public interface ioUnitI
The interface of the input output unit of the machine.


Variable Index

 o DEFAULT_ISTREAM
The default underlying byte-oriented input stream.
 o DEFAULT_OSTREAM
The default underlying byte-oriented output stream.

Method Index

 o getReader()
 o getWriter()
 o readData()
A call to readData reads one integer from the input stream.
 o writeData(Word)

Variables

 o DEFAULT_ISTREAM
 public static final InputStream DEFAULT_ISTREAM
The default underlying byte-oriented input stream.

 o DEFAULT_OSTREAM
 public static final OutputStream DEFAULT_OSTREAM
The default underlying byte-oriented output stream.

Methods

 o getWriter
 public abstract PrintWriter getWriter()
 o getReader
 public abstract StreamTokenizer getReader()
 o readData
 public abstract Word readData() throws ioE
A call to readData reads one integer from the input stream. The call will block until there is something to read.

Throws: ioE
If the input cannot be parsed as a number.
 o writeData
 public abstract void writeData(Word w)

All Packages  Class Hierarchy  This Package  Previous  Next  Index