nl.tudelft.pogamut.unreal.server
Class UnrealServerDefinition<T extends cz.cuni.amis.pogamut.unreal.server.IUnrealServer>
java.lang.Object
nl.tudelft.pogamut.base.server.ServerDefinition<T>
nl.tudelft.pogamut.unreal.server.UnrealServerDefinition<T>
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- UTServerDefinition
public abstract class UnrealServerDefinition<T extends cz.cuni.amis.pogamut.unreal.server.IUnrealServer>
- extends ServerDefinition<T>
Definition of UnrealTournament2004 server.
- Author:
- ik
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
server
protected transient T extends cz.cuni.amis.pogamut.unreal.server.IUnrealServer server
UnrealServerDefinition
public UnrealServerDefinition()
startServer
public void startServer()
throws cz.cuni.amis.utils.exception.PogamutException
- Description copied from class:
ServerDefinition
- Restarts the server eg. after address change.
- Specified by:
startServer in class ServerDefinition<T extends cz.cuni.amis.pogamut.unreal.server.IUnrealServer>
- Throws:
cz.cuni.amis.utils.exception.PogamutException
createServer
protected abstract T createServer()
- Creates a new server. Server is assumed to be up and running before it is returned or null if creating a server failed.
- Returns:
serverStopped
protected void serverStopped(T server)
stopServer
public void stopServer()
- Description copied from class:
ServerDefinition
- Stops connection to the server. When the server is stopped, the serverFlag should be set to null.
- Specified by:
stopServer 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.