gov.sandia.ccaffeine.dc.user_iface.MVC
Class ControllerSocket
java.lang.Object
gov.sandia.ccaffeine.dc.user_iface.MVC.ControllerSocket
public class ControllerSocket
- extends java.lang.Object
An MVC controller.
This controller receives commands and data from
the cca server. Usually the data is forwarded to
the CmdParse for parsing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControllerSocket
public ControllerSocket(ClientSocket clientSocket)
- Create an MVC controller.
This controller receives input from the cca server.
- Parameters:
inputStream
- The input stream that is used
to read commands & data from the input stream.
readLine
public java.lang.String readLine()
throws java.io.IOException
- Throws:
java.io.IOException
parse
public void parse(BuilderClientMonitor monitor)
addControllerListener
public void addControllerListener(ControllerListener listener)
removeControllerListener
public void removeControllerListener(ControllerListener listener)
addGuiUserListener
public void addGuiUserListener(GuiUserListener listener)
removeGuiUserListener
public void removeGuiUserListener(GuiUserListener listener)