public class ServerInterfaceEngine extends AbstractGenericEngine implements REpiceaShowableUI
finalTask, logger, queue, tasksDone
Modifier and Type | Method and Description |
---|---|
protected void |
connect() |
protected void |
disconnect() |
protected void |
firstTasksToDo()
This method sets the first tasks to execute when the engine starts.
|
protected SocketWrapper |
getSocket() |
ServerDialog |
getUI()
This method returns the GUI interface of the class that implements this interface.
|
boolean |
isVisible()
This method returns true if the GUI is visible.
|
static void |
main(java.lang.String[] args) |
void |
requestShutdown()
This method requests the Engine to shut down.
|
protected void |
setCommunicationPort(int port) |
void |
showUI()
This method shows the GUI interface of the class that implements this interface.
|
addTask, addTasks, cancelRunningTask, decideWhatToDoInCaseOfFailure, getSettingMemory, lockEngine, lockEngine, setSettingMemory, shutdown, startApplication, unlockEngine
public ServerDialog getUI()
REpiceaUIObject
getUI
in interface REpiceaUIObject
public void showUI()
REpiceaShowableUI
showUI
in interface REpiceaShowableUI
protected void firstTasksToDo()
AbstractGenericEngine
firstTasksToDo
in class AbstractGenericEngine
protected void connect() throws java.io.IOException
java.io.IOException
protected void setCommunicationPort(int port)
protected void disconnect() throws java.io.IOException
java.io.IOException
protected SocketWrapper getSocket()
public boolean isVisible()
REpiceaUIObject
isVisible
in interface REpiceaUIObject
public void requestShutdown()
AbstractGenericEngine
requestShutdown
in class AbstractGenericEngine
public static void main(java.lang.String[] args)