ApplicationController
public class Server extends java.lang.Object implements ApplicationController
Constructor | Description |
---|---|
Server() |
Modifier and Type | Method | 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
ApplicationController
init
in interface ApplicationController
de.willuhn.util.ApplicationException
ApplicationController.init()
public void shutDown()
ApplicationController
shutDown
in interface ApplicationController
ApplicationController.shutDown()
public ApplicationCallback getApplicationCallback()
ApplicationController
getApplicationCallback
in interface ApplicationController
ApplicationController.getApplicationCallback()
public void start(BackgroundTask task)
ApplicationController
start
in interface ApplicationController
task
- der zu startende Task.ApplicationController.start(de.willuhn.jameica.system.BackgroundTask)