cz.cuni.amis.pogamut.base.factory
Interface IAgentFactory<AGENT extends IAgent,PARAMS extends IAgentParameters>

Type Parameters:
AGENT - type of the agent the factory is producing
PARAMS - type of the parameters that the agent is configured with
All Known Implementing Classes:
GuiceAgentFactory, GuiceRemoteAgentFactory, GuiceTeamRemoteAgentFactory, UT2004AnalyzerFactory, UT2004BotFactory, UT2004ObserverFactory, UT2004ObserverFactory, UT2004ServerFactory, UT2004ServerFactory

public interface IAgentFactory<AGENT extends IAgent,PARAMS extends IAgentParameters>

General factory that instantiates the agent according to the passed parameters. Note that every factory may require different IAgentParameters descendants/implementors according to the agent type and target agent environment.


Method Summary
 AGENT newAgent(PARAMS agentParameters)
          Factory method - it creates an agent with 'agentParameters'
 

Method Detail

newAgent

AGENT newAgent(PARAMS agentParameters)
                              throws PogamutException
Factory method - it creates an agent with 'agentParameters'

DOES NOT START THE AGENT!

Parameters:
agentParameters -
Returns:
new agent instance configured with 'agentParameters'
Throws:
PogamutException