cz.cuni.amis.pogamut.ut2004.agent.params
Class UT2004AgentParameters

Package class diagram package UT2004AgentParameters
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.params.impl.AgentParameters
      extended by cz.cuni.amis.pogamut.base.agent.params.impl.RemoteAgentParameters
          extended by cz.cuni.amis.pogamut.ut2004.agent.params.UT2004AgentParameters
All Implemented Interfaces:
IAgentParameters, IRemoteAgentParameters
Direct Known Subclasses:
UT2004AnalyzerFullObserverParameters, UT2004AnalyzerObserverParameters, UT2004AnalyzerParameters, UT2004BotParameters

public class UT2004AgentParameters
extends RemoteAgentParameters

Agent parameters are meant to provide run-time parameters needed by various UT2004 agents for running such as IAgentId and ISocketConnectionAddress.

If you need to populate the parameters after instantiation, use setters available in this class: setAgentId(IAgentId), setWorldAddress(IWorldConnectionAddress).

NOTE: all IAgentParameters implementors are usually used together with IAgentRunner or IMultipleAgentRunner which usually contains sensible default params, therefore there is no need to set all parameters into newly created ones as runners will supply them via IAgentParameters.assignDefaults(IAgentParameters).

Author:
Jimmy
See Also:
RemoteAgentParameters

Constructor Summary
UT2004AgentParameters()
          If you need to populate the parameters after instantiation, use setters available in this class: setAgentId(IAgentId), setWorldAddress(IWorldConnectionAddress).
 
Method Summary
 UT2004AgentParameters setAgentId(IAgentId agentId)
           
 UT2004AgentParameters setWorldAddress(IWorldConnectionAddress address)
           
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.params.impl.RemoteAgentParameters
assignDefaults, getWorldAddress
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.params.impl.AgentParameters
getAgentId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cz.cuni.amis.pogamut.base.agent.params.IAgentParameters
getAgentId
 

Constructor Detail

UT2004AgentParameters

public UT2004AgentParameters()
If you need to populate the parameters after instantiation, use setters available in this class: setAgentId(IAgentId), setWorldAddress(IWorldConnectionAddress).

Method Detail

setAgentId

public UT2004AgentParameters setAgentId(IAgentId agentId)
Overrides:
setAgentId in class RemoteAgentParameters

setWorldAddress

public UT2004AgentParameters setWorldAddress(IWorldConnectionAddress address)
Overrides:
setWorldAddress in class RemoteAgentParameters


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.