Exemplo n.º 1
0
        public Terminal(TerminalDriver driver)
        {
            completedLineQueue = new LineQueue();
            handler            = new Handler(driver, completedLineQueue);

            this.driver = driver;
            this.driver.InstallInterruptHandler(handler);
        }
Exemplo n.º 2
0
        public Terminal(TerminalDriver driver)
        {
            this.completedLineQueue = new LineQueue();
            this.handler            = new Handler(driver, completedLineQueue);

            this.driver = driver;
            this.driver.InstallInterruptHandler(handler); //todo dont hand driver to it?
        }
Exemplo n.º 3
0
 private protected TerminalHandle(TerminalDriver driver)
 {
     Driver = driver;
 }
Exemplo n.º 4
0
 private protected TerminalReader(TerminalDriver driver)
     : base(driver)
 {
     Stream = new(this);
 }
Exemplo n.º 5
0
 public TestHandler(TerminalDriver driver)
 {
     mDriver = driver;
 }
Exemplo n.º 6
0
 public Handler(TerminalDriver driver, LineQueue completedLineQueue)
 {
     this.driver             = driver;
     this.completedLineQueue = completedLineQueue;
     this.partialLineQueue   = new List <char>();
 }