edu.cmu.emulator
Class ScriptController

java.lang.Object
  extended by edu.cmu.emulator.ScriptController
All Implemented Interfaces:
ScriptListener

public class ScriptController
extends Object
implements ScriptListener


Field Summary
(package private)  ArrayList listeners
           
 
Constructor Summary
ScriptController()
           
 
Method Summary
 void addListener(ScriptListener listener)
           
 void scriptMessage(String message)
           
 void scriptStarted(String scriptName)
           
 void scriptStopped(String scriptName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listeners

ArrayList listeners
Constructor Detail

ScriptController

public ScriptController()
Method Detail

scriptStarted

public void scriptStarted(String scriptName)
Specified by:
scriptStarted in interface ScriptListener

scriptStopped

public void scriptStopped(String scriptName)
Specified by:
scriptStopped in interface ScriptListener

scriptMessage

public void scriptMessage(String message)
Specified by:
scriptMessage in interface ScriptListener

addListener

public void addListener(ScriptListener listener)


Copyright © 2013. All Rights Reserved.