cz.cuni.amis.pogamut.udk.factory.guice.remoteagent
Class UDKObserverFactory<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.UDKObserverFactory<SERVER,PARAMS>
- Type Parameters:
BOT - PARAMS -
- All Implemented Interfaces:
- IAgentFactory<SERVER,PARAMS>
public class UDKObserverFactory<SERVER extends IUDKServer,PARAMS extends UDKAgentParameters>
- extends GuiceAgentFactory<SERVER,PARAMS>
Guice-based IUDKObserver factory. It needs UDKObserverModule to work correctly and the module is required
to bound IAgent to the IUDKObserver, otherwise the method UDKObserverFactory#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 |
UDKObserverFactory
public UDKObserverFactory(UDKServerModule agentModule)
getAgentModule
protected UDKServerModule getAgentModule()
- Overrides:
getAgentModule in class AbstractGuiceAgentFactory
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.