provided.engine.controller
Class EngineController

java.lang.Object
  extended by provided.engine.controller.EngineController

public class EngineController
extends java.lang.Object

Controller for the Server (Engine) part of the system.

Author:
swong

Field Summary
private  EngineModel model
          The model
private  EngineGUI view
          The view
 
Constructor Summary
EngineController()
          Constructor of the class.
 
Method Summary
static void main(java.lang.String[] args)
          Main method that instantiates the controller and starts it.
 void start()
          Start the system up.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

view

private EngineGUI view
The view


model

private EngineModel model
The model

Constructor Detail

EngineController

public EngineController()
Constructor of the class. Instantiates and connects the model and the view.

Method Detail

start

public void start()
Start the system up. The view is started first so that the model can use it to display any status or error messages.


main

public static void main(java.lang.String[] args)
Main method that instantiates the controller and starts it.

Parameters:
args - ignored.