public class Server extends java.lang.Object implements ApplicationController
| Constructor and Description |
|---|
Server() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationCallback |
getApplicationCallback()
Erzeugt ein Callback-Objekt ueber das die Anwendung mit
dem User kommunizieren kann.
|
void |
init()
Initialisiert den Controller.
|
void |
shutDown()
Beendet den Controller
|
void |
start(BackgroundTask task)
Startet einen Task im Hintergrund.
|
public void init()
throws de.willuhn.util.ApplicationException
ApplicationControllerinit in interface ApplicationControllerde.willuhn.util.ApplicationExceptionApplicationController.init()public void shutDown()
ApplicationControllershutDown in interface ApplicationControllerApplicationController.shutDown()public ApplicationCallback getApplicationCallback()
ApplicationControllergetApplicationCallback in interface ApplicationControllerApplicationController.getApplicationCallback()public void start(BackgroundTask task)
ApplicationControllerstart in interface ApplicationControllertask - der zu startende Task.ApplicationController.start(de.willuhn.jameica.system.BackgroundTask)