net.sf.freecol.server.control
Class Controller

java.lang.Object
  extended by net.sf.freecol.server.control.FreeColServerHolder
      extended by net.sf.freecol.server.control.Controller
Direct Known Subclasses:
InGameController, PreGameController

public abstract class Controller
extends FreeColServerHolder

The control object that is responsible for making changes to the internal model and for communicating with the clients.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String LICENSE
           
static java.lang.String REVISION
           
 
Constructor Summary
Controller(FreeColServer freeColServer)
          The constructor to use.
 
Method Summary
 void shutdown()
          Shut down the server (which sends a message to each client).
 
Methods inherited from class net.sf.freecol.server.control.FreeColServerHolder
getFreeColServer, getPseudoRandom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

LICENSE

public static final java.lang.String LICENSE
See Also:
Constant Field Values

REVISION

public static final java.lang.String REVISION
See Also:
Constant Field Values
Constructor Detail

Controller

public Controller(FreeColServer freeColServer)
The constructor to use.

Parameters:
freeColServer - The main server object.
Method Detail

shutdown

public void shutdown()
Shut down the server (which sends a message to each client).