cz.cuni.amis.pogamut.udk.factory.guice.remoteagent
Class UDKServerFactory<SERVER extends IUDKServer,PARAMS extends UDKAgentParameters>
java.lang.Object
cz.cuni.amis.pogamut.base.factory.guice.AbstractGuiceAgentFactory
cz.cuni.amis.pogamut.base.factory.guice.GuiceAgentFactory<SERVER,PARAMS>
cz.cuni.amis.pogamut.udk.factory.guice.remoteagent.UDKServerFactory<SERVER,PARAMS>
- Type Parameters:
BOT
- PARAMS
-
- All Implemented Interfaces:
- IAgentFactory<SERVER,PARAMS>
public class UDKServerFactory<SERVER extends IUDKServer,PARAMS extends UDKAgentParameters>
- extends GuiceAgentFactory<SERVER,PARAMS>
Guice-base 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
.
- Author:
- Jimmy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UDKServerFactory
public UDKServerFactory(UDKServerModule agentModule)
getAgentModule
protected UDKServerModule getAgentModule()
- Overrides:
getAgentModule
in class AbstractGuiceAgentFactory
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.