BOT
- PARAMS
- public class UDKObserverFactory<SERVER extends IUDKServer,PARAMS extends UDKAgentParameters> extends GuiceAgentFactory<SERVER,PARAMS>
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
.
Constructor and Description |
---|
UDKObserverFactory(UDKServerModule agentModule) |
Modifier and Type | Method and Description |
---|---|
protected UDKServerModule |
getAgentModule() |
configureModule, newAgent
getInjector, setAgentModule
public UDKObserverFactory(UDKServerModule agentModule)
protected UDKServerModule getAgentModule()
getAgentModule
in class AbstractGuiceAgentFactory
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.