Package de.willuhn.jameica.system
Class Server
- java.lang.Object
-
- de.willuhn.jameica.system.Server
-
- All Implemented Interfaces:
ApplicationController
public class Server extends java.lang.Object implements ApplicationController
Diese Klasse bildet den Serverloop der Anwendung ab.- Author:
- willuhn
-
-
Constructor Summary
Constructors Constructor Description Server()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationCallbackgetApplicationCallback()Erzeugt ein Callback-Objekt ueber das die Anwendung mit dem User kommunizieren kann.voidinit()Initialisiert den Controller.voidshutDown()Beendet den Controllervoidstart(BackgroundTask task)Startet einen Task im Hintergrund.
-
-
-
Method Detail
-
init
public void init() throws de.willuhn.util.ApplicationExceptionDescription copied from interface:ApplicationControllerInitialisiert den Controller.- Specified by:
initin interfaceApplicationController- Throws:
de.willuhn.util.ApplicationException- See Also:
ApplicationController.init()
-
shutDown
public void shutDown()
Description copied from interface:ApplicationControllerBeendet den Controller- Specified by:
shutDownin interfaceApplicationController- See Also:
ApplicationController.shutDown()
-
getApplicationCallback
public ApplicationCallback getApplicationCallback()
Description copied from interface:ApplicationControllerErzeugt ein Callback-Objekt ueber das die Anwendung mit dem User kommunizieren kann.- Specified by:
getApplicationCallbackin interfaceApplicationController- Returns:
- Callback.
- See Also:
ApplicationController.getApplicationCallback()
-
start
public void start(BackgroundTask task)
Description copied from interface:ApplicationControllerStartet einen Task im Hintergrund.- Specified by:
startin interfaceApplicationController- Parameters:
task- der zu startende Task.- See Also:
ApplicationController.start(de.willuhn.jameica.system.BackgroundTask)
-
-