public abstract class UnrealServerDefinition<T extends cz.cuni.amis.pogamut.unreal.server.IUnrealServer> extends ServerDefinition<T>
| Constructor and Description |
|---|
UnrealServerDefinition() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
createServer()
Creates a new server.
|
protected void |
serverStopped(T server) |
void |
startServer()
Restarts the server eg.
|
void |
stopServer()
Stops connection to the server.
|
getServerFlag, getServerName, getServerNameFlag, getUri, getUriFlag, setNewServer, setServerName, setUriprotected transient T extends cz.cuni.amis.pogamut.unreal.server.IUnrealServer server
public void startServer()
throws cz.cuni.amis.utils.exception.PogamutException
ServerDefinitionstartServer in class ServerDefinition<T extends cz.cuni.amis.pogamut.unreal.server.IUnrealServer>cz.cuni.amis.utils.exception.PogamutExceptionprotected abstract T createServer()
protected void serverStopped(T server)
public void stopServer()
ServerDefinitionstopServer in class ServerDefinition<T extends cz.cuni.amis.pogamut.unreal.server.IUnrealServer>Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.