cz.cuni.amis.pogamut.base.server
Class AbstractWorldServer<WORLD_VIEW extends IWorldView,ACT extends IAct,A extends IAgent>

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent
      extended by cz.cuni.amis.pogamut.base.agent.impl.AbstractObservingAgent<WORLD_VIEW>
          extended by cz.cuni.amis.pogamut.base.agent.impl.AbstractGhostAgent<WORLD_VIEW,ACT>
              extended by cz.cuni.amis.pogamut.base.server.AbstractWorldServer<WORLD_VIEW,ACT,A>
All Implemented Interfaces:
IAgent, IGhostAgent, IObservingAgent, IComponent, IComponentAware, IControllable, IWorldAgentsObserver<A>, IWorldServer<A>
Direct Known Subclasses:
AbstractUT2004Server

public abstract class AbstractWorldServer<WORLD_VIEW extends IWorldView,ACT extends IAct,A extends IAgent>
extends AbstractGhostAgent<WORLD_VIEW,ACT>
implements IWorldServer<A>


Field Summary
protected  java.net.URI worldAddress
           
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent
events, INTROSPECTION_ROOT_NAME, log
 
Constructor Summary
AbstractWorldServer(IAgentId agentId, IAgentLogger agentLogger, IComponentBus bus, WORLD_VIEW worldView, ACT act)
           
 
Method Summary
 java.net.URI getWorldAddress()
          Address of the world.
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.impl.AbstractGhostAgent
getAct
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.impl.AbstractObservingAgent
getWorldView
 
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, killAgent, notInState, pause, pauseAgent, preKillAgent, preStopAgent, resetAgent, resetEvent, resume, resumeAgent, setState, start, startAgent, startPaused, startPausedAgent, stop, stopAgent, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface cz.cuni.amis.pogamut.base.server.IWorldAgentsObserver
getAgents
 
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
 
Methods inherited from interface cz.cuni.amis.pogamut.base.agent.IObservingAgent
getWorldView
 

Field Detail

worldAddress

protected java.net.URI worldAddress
Constructor Detail

AbstractWorldServer

@Inject
public AbstractWorldServer(IAgentId agentId,
                                  IAgentLogger agentLogger,
                                  IComponentBus bus,
                                  WORLD_VIEW worldView,
                                  ACT act)
Method Detail

getWorldAddress

public java.net.URI getWorldAddress()
Description copied from interface: IWorldServer
Address of the world. eg. gb04://localhost:3000

Specified by:
getWorldAddress in interface IWorldServer<A extends IAgent>
Returns: