BOT - PARAMS - public class UT2004ServerFactory<SERVER extends IUT2004Server,PARAMS extends UT2004AgentParameters> extends GuiceAgentFactory<SERVER,PARAMS>
IUT2004Server factory. It needs UT2004ServerModule to work correctly and the module is required
to bound IAgent to the IUT2004Server, otherwise the method UT2004ServerFactory#newAgent(IRemoteAgentParameters)
will throw ClassCastException.
For more info about the factory, see GuiceAgentFactory.
| Constructor and Description |
|---|
UT2004ServerFactory(UT2004ServerModule agentModule) |
| Modifier and Type | Method and Description |
|---|---|
protected UT2004ServerModule |
getAgentModule() |
configureModule, newAgentgetInjector, setAgentModulepublic UT2004ServerFactory(UT2004ServerModule agentModule)
protected UT2004ServerModule getAgentModule()
getAgentModule in class AbstractGuiceAgentFactoryCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.