Package net.sf.freecol.server.control
Class Controller
- java.lang.Object
-
- net.sf.freecol.server.control.FreeColServerHolder
-
- 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
Fields Modifier and Type Field Description private static java.util.logging.Logger
logger
-
Constructor Summary
Constructors Constructor Description Controller(FreeColServer freeColServer)
The constructor to use.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
shutdown()
Shut down the server (which sends a message to each client).-
Methods inherited from class net.sf.freecol.server.control.FreeColServerHolder
getFreeColServer, getGame
-
-
-
-
Constructor Detail
-
Controller
public Controller(FreeColServer freeColServer)
The constructor to use.- Parameters:
freeColServer
- The main server object.
-
-