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.
-
DEFAULT_ISTREAM
- The default underlying byte-oriented input stream.
-
DEFAULT_OSTREAM
- The default underlying byte-oriented output stream.
-
getReader()
-
-
getWriter()
-
-
readData()
- A call to readData reads one integer from the input stream.
-
writeData(Word)
-
DEFAULT_ISTREAM
public static final InputStream DEFAULT_ISTREAM
- The default underlying byte-oriented input stream.
DEFAULT_OSTREAM
public static final OutputStream DEFAULT_OSTREAM
- The default underlying byte-oriented output stream.
getWriter
public abstract PrintWriter getWriter()
getReader
public abstract StreamTokenizer getReader()
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.
writeData
public abstract void writeData(Word w)
All Packages Class Hierarchy This Package Previous Next Index