All Packages Class Hierarchy This Package Previous Next Index
Class edsac.gui.TeleQueue
java.lang.Object
|
+----edsac.gui.TeleQueue
- public class TeleQueue
- extends Object
-----------------------------------------------------------------------------
Class: TeleQueue
FIFO queue for teletype output
This class implements the queue used for the Teletype interface
It contains methods to read and write an Edsac Character from the queue.
----------------------------------------------------------------------------
-
TeleQueue()
- -----------------------------------------------------------------------------
Constructor
initialise data array, count and indexes
-
read()
- -----------------------------------------------------------------------------
Method: read
reads one Edsac Character from the queue
returns Edsac Character value from queue
-
write(Character)
- -----------------------------------------------------------------------------
Method: write
writes one Edsac Character value into the queue
TeleQueue
public TeleQueue()
- -----------------------------------------------------------------------------
Constructor
initialise data array, count and indexes
write
public synchronized void write(Character value) throws InterruptedException
- -----------------------------------------------------------------------------
Method: write
writes one Edsac Character value into the queue
read
public synchronized Character read()
- -----------------------------------------------------------------------------
Method: read
reads one Edsac Character from the queue
returns Edsac Character value from queue
All Packages Class Hierarchy This Package Previous Next Index