cz.cuni.amis.nb.api.pogamut.unreal.server
Class UnrealServerDefinition<T extends cz.cuni.amis.pogamut.unreal.server.IUnrealServer>
java.lang.Object
cz.cuni.amis.nb.api.pogamut.base.server.ServerDefinition<T>
cz.cuni.amis.nb.api.pogamut.base.server.ReconnectingServerDefinition<T>
cz.cuni.amis.nb.api.pogamut.unreal.server.UnrealServerDefinition<T>
- All Implemented Interfaces:
- Serializable
public abstract class UnrealServerDefinition<T extends cz.cuni.amis.pogamut.unreal.server.IUnrealServer>
- extends cz.cuni.amis.nb.api.pogamut.base.server.ReconnectingServerDefinition<T>
Definition of UnrealTournament2004 server.
- Author:
- ik
- See Also:
- Serialized Form
| Methods inherited from class cz.cuni.amis.nb.api.pogamut.base.server.ReconnectingServerDefinition |
startServer, stopServer |
| Methods inherited from class cz.cuni.amis.nb.api.pogamut.base.server.ServerDefinition |
getServerFlag, getServerName, getServerNameFlag, getUri, getUriFlag, getViewer, init, setNewServer, setServerName, setUri |
| 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()
tryToStartServer
protected void tryToStartServer()
throws cz.cuni.amis.utils.exception.PogamutException
- Specified by:
tryToStartServer in class cz.cuni.amis.nb.api.pogamut.base.server.ReconnectingServerDefinition<T extends cz.cuni.amis.pogamut.unreal.server.IUnrealServer>
- Throws:
cz.cuni.amis.utils.exception.PogamutException
createServer
protected abstract T createServer()
serverStopped
protected void serverStopped(T server)
- Overrides:
serverStopped in class cz.cuni.amis.nb.api.pogamut.base.server.ReconnectingServerDefinition<T extends cz.cuni.amis.pogamut.unreal.server.IUnrealServer>
spectate
public void spectate()
throws cz.cuni.amis.utils.exception.PogamutException
- Starts Unreal viewer of the server.
- Throws:
cz.cuni.amis.utils.exception.PogamutException
startSpectImpl
protected abstract void startSpectImpl(URI uri)
throws IOException
- Throws:
IOException
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.