/*  CSci 658, Software Language Engineering
    Mock Command Channel class for testing purposes
    Fowler's State Machine Model and Secret Panel DSL Examples
    H. Conrad Cunningham

1234567890123456789012345678901234567890123456789012345678901234567890

2009-04-14: (V1) Original
2018-02-01: (V1a) Updated comments. Created compile script.

*/

import scala.collection.mutable.ListBuffer

class CommandChannel {
  private var output = new ListBuffer[Symbol]

  def send(code: Symbol) {
    output += code
  }

  def getOutput = output.mkString(", ")
}

