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