|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.base.agent.impl.AbstractAgent
cz.cuni.amis.pogamut.base.agent.impl.AbstractObservingAgent<WORLD_VIEW>
cz.cuni.amis.pogamut.base.agent.impl.AbstractGhostAgent<WORLD_VIEW,ACT>
cz.cuni.amis.pogamut.base.server.AbstractWorldServer<WORLD_VIEW,ACT,IUT2004Bot>
cz.cuni.amis.pogamut.ut2004.server.impl.AbstractUT2004Server<UT2004WorldView,cz.cuni.amis.pogamut.base.communication.command.IAct>
cz.cuni.amis.pogamut.ut2004.server.impl.UT2004Server
cz.cuni.amis.pogamut.ut2004.teamcomm.server.UT2004TCServer
public class UT2004TCServer
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.server.impl.UT2004Server |
|---|
UT2004Server.MapChangeFuture |
| Field Summary | |
|---|---|
static cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
SERVER_UNREAL_ID
|
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.server.impl.UT2004Server |
|---|
changingMap, changingMapAttempt, changingMapMutex, MAP_CHANGE_CONNECT_INTERVAL_MILLIS, mapChangeFuture, mapListListener, MAX_CHANGING_MAP_ATTEMPTS, playerJoinsListener, targetMap |
| Fields inherited from class cz.cuni.amis.pogamut.base.server.AbstractWorldServer |
|---|
worldAddress |
| Fields inherited from class cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent |
|---|
events, INTROSPECTION_ROOT_NAME, log, LOG_CATEGORY_NAME |
| Constructor Summary | |
|---|---|
UT2004TCServer(UT2004AgentParameters params,
cz.cuni.amis.pogamut.base.utils.logging.IAgentLogger agentLogger,
cz.cuni.amis.pogamut.base.component.bus.IComponentBus bus,
cz.cuni.amis.pogamut.base.communication.connection.impl.socket.SocketConnection connection,
UT2004WorldView worldView,
cz.cuni.amis.pogamut.base.communication.command.IAct act)
|
|
| Method Summary | |
|---|---|
protected void |
batchEnd(EndMessage event)
|
UT2004TCServerParams |
getParams()
|
PlayerMessage |
getPlayer(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId source)
|
long |
getSimTime()
|
protected void |
init()
|
static void |
main(String[] args)
|
protected void |
playerJoinsGame(PlayerJoinsGame event)
|
protected void |
playerLeft(PlayerLeft event)
|
protected void |
playerUpdate(cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObjectEvent<PlayerMessage> event)
|
static UT2004TCServer |
startTCServer()
|
static UT2004TCServer |
startTCServer(String bindHost,
int bindPort)
|
protected void |
stopAgent()
|
protected void |
timeUpdate(BeginMessage event)
|
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.server.impl.UT2004Server |
|---|
connectNativeBot, reset, setGameMap, startAgent, startPausedAgent |
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.server.impl.AbstractUT2004Server |
|---|
connectNativeBot, createPasswordReply, getAgents, getAvailableMaps, getGameInfo, getGameSpeedFlag, getMap, getMapName, getMutators, getNativeAgents, getPasswordReply, getPlayers, getWorldView, killAgent, readyCommandRequested, resetAgent, setAddress, setPassword |
| Methods inherited from class cz.cuni.amis.pogamut.base.server.AbstractWorldServer |
|---|
getWorldAddress |
| Methods inherited from class cz.cuni.amis.pogamut.base.agent.impl.AbstractGhostAgent |
|---|
getAct |
| Methods inherited from class cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent |
|---|
addDependency, addDependency, addDependency, addJMXComponents, awaitState, awaitState, componentFatalError, componentStarted, componentStarted, componentStopped, componentStopping, createAgentJMX, createIntrospection, equals, getComponentId, getEventBus, getIntrospection, getJMX, getLog, getLogger, getName, getState, hashCode, inState, kill, notInState, pause, pauseAgent, preKillAgent, preStopAgent, resetEvent, resume, resumeAgent, setState, start, startPaused, stop, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface cz.cuni.amis.pogamut.ut2004.server.IUT2004Server |
|---|
connectNativeBot, getAvailableMaps, getGameSpeedFlag, getMap, getMapName, getMutators, getNativeAgents, getPlayers, setAddress, setGameMap |
| Methods inherited from interface cz.cuni.amis.pogamut.unreal.server.IUnrealServer |
|---|
connectNativeBot |
| Methods inherited from interface cz.cuni.amis.pogamut.base.server.IWorldServer |
|---|
getWorldAddress |
| Methods inherited from interface cz.cuni.amis.pogamut.base.server.IWorldAgentsObserver |
|---|
getAgents |
| Methods inherited from interface cz.cuni.amis.pogamut.base.agent.IGhostAgent |
|---|
getAct |
| Methods inherited from interface cz.cuni.amis.pogamut.base.agent.IObservingAgent |
|---|
getWorldView |
| Methods inherited from interface cz.cuni.amis.pogamut.base.agent.IAgent |
|---|
getComponentId, getIntrospection, getLogger, getName, getState, kill, pause, resume, start, startPaused, stop |
| Methods inherited from interface cz.cuni.amis.pogamut.base.component.IComponentAware |
|---|
getEventBus |
| Field Detail |
|---|
public static final cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId SERVER_UNREAL_ID
| Constructor Detail |
|---|
@Inject
public UT2004TCServer(UT2004AgentParameters params,
cz.cuni.amis.pogamut.base.utils.logging.IAgentLogger agentLogger,
cz.cuni.amis.pogamut.base.component.bus.IComponentBus bus,
cz.cuni.amis.pogamut.base.communication.connection.impl.socket.SocketConnection connection,
UT2004WorldView worldView,
cz.cuni.amis.pogamut.base.communication.command.IAct act)
| Method Detail |
|---|
public UT2004TCServerParams getParams()
getParams in class UT2004Serverprotected void init()
init in class UT2004Serverprotected void stopAgent()
stopAgent in class AbstractUT2004Server<UT2004WorldView,cz.cuni.amis.pogamut.base.communication.command.IAct>public long getSimTime()
public PlayerMessage getPlayer(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId source)
protected void playerUpdate(cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObjectEvent<PlayerMessage> event)
protected void playerLeft(PlayerLeft event)
protected void playerJoinsGame(PlayerJoinsGame event)
protected void batchEnd(EndMessage event)
protected void timeUpdate(BeginMessage event)
public static UT2004TCServer startTCServer()
public static UT2004TCServer startTCServer(String bindHost,
int bindPort)
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||