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. ----------------------------------------------------------------------------


Constructor Index

 o TeleQueue()
----------------------------------------------------------------------------- Constructor initialise data array, count and indexes

Method Index

 o read()
----------------------------------------------------------------------------- Method: read reads one Edsac Character from the queue returns Edsac Character value from queue
 o write(Character)
----------------------------------------------------------------------------- Method: write writes one Edsac Character value into the queue

Constructors

 o TeleQueue
 public TeleQueue()
----------------------------------------------------------------------------- Constructor initialise data array, count and indexes

Methods

 o write
 public synchronized void write(Character value) throws InterruptedException
----------------------------------------------------------------------------- Method: write writes one Edsac Character value into the queue

 o 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