public class BotObserver
extends cz.cuni.amis.pogamut.ut2004.observer.impl.UT2004Observer
| Constructor and Description |
|---|
BotObserver(cz.cuni.amis.pogamut.ut2004.agent.params.UT2004AgentParameters params,
cz.cuni.amis.pogamut.base.component.bus.IComponentBus bus,
cz.cuni.amis.pogamut.base.utils.logging.IAgentLogger agentLogger,
cz.cuni.amis.pogamut.ut2004.communication.worldview.UT2004WorldView worldView,
cz.cuni.amis.pogamut.base.communication.command.IAct act) |
| Modifier and Type | Method and Description |
|---|---|
BotObserverParams |
getParams()
We're going to instantiate
BotObserver only with BotObserverParams (see constructor that enforces that). |
static void |
main(String[] args) |
void |
playerEvent(cz.cuni.amis.pogamut.base.communication.worldview.object.event.WorldObjectUpdatedEvent<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player> event) |
void |
selfEvent(cz.cuni.amis.pogamut.base.communication.worldview.object.event.WorldObjectUpdatedEvent<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Self> event) |
static void |
startObserver()
In case you starting this observer manually, use this method.
|
createPasswordReply, getPasswordReply, getWorldView, killAgent, readyCommandRequested, reset, resetAgent, setPassword, startAgent, startPausedAgent, stopAgentaddDependency, 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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, wait@Inject
public BotObserver(cz.cuni.amis.pogamut.ut2004.agent.params.UT2004AgentParameters params,
cz.cuni.amis.pogamut.base.component.bus.IComponentBus bus,
cz.cuni.amis.pogamut.base.utils.logging.IAgentLogger agentLogger,
cz.cuni.amis.pogamut.ut2004.communication.worldview.UT2004WorldView worldView,
cz.cuni.amis.pogamut.base.communication.command.IAct act)
public BotObserverParams getParams()
BotObserver only with BotObserverParams (see constructor that enforces that).getParams in class cz.cuni.amis.pogamut.ut2004.observer.impl.UT2004Observerpublic void playerEvent(cz.cuni.amis.pogamut.base.communication.worldview.object.event.WorldObjectUpdatedEvent<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player> event)
public void selfEvent(cz.cuni.amis.pogamut.base.communication.worldview.object.event.WorldObjectUpdatedEvent<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Self> event)
public static void startObserver()
args - public static void main(String[] args) throws cz.cuni.amis.utils.exception.PogamutException
cz.cuni.amis.utils.exception.PogamutExceptionCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.