public class TeamRemoteAgentParameters<SHARED_WORLDVIEW extends ISharedWorldView> extends RemoteAgentParameters implements ITeamRemoteAgentParameters<SHARED_WORLDVIEW>
| Modifier and Type | Field and Description |
|---|---|
protected SHARED_WORLDVIEW |
sharedWorldView |
| Constructor and Description |
|---|
TeamRemoteAgentParameters() |
| Modifier and Type | Method and Description |
|---|---|
void |
assignDefaults(IAgentParameters defaults)
Fills missing parameters of 'this' with values from 'defaults'.
|
SHARED_WORLDVIEW |
getSharedWorldView() |
TeamRemoteAgentParameters<SHARED_WORLDVIEW> |
setAgentId(IAgentId agentId)
Sets agent id into the parameters.
|
TeamRemoteAgentParameters<SHARED_WORLDVIEW> |
setSharedWorldView(SHARED_WORLDVIEW sharedWorldView)
Sets instance of
ISharedWorldView that should be used by this agent. |
TeamRemoteAgentParameters<SHARED_WORLDVIEW> |
setWorldAddress(IWorldConnectionAddress address)
Sets connection address into the parameters.
|
getWorldAddressgetAgentIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWorldAddressgetAgentIdprotected SHARED_WORLDVIEW extends ISharedWorldView sharedWorldView
public SHARED_WORLDVIEW getSharedWorldView()
getSharedWorldView in interface ITeamAgentParameters<SHARED_WORLDVIEW extends ISharedWorldView>public TeamRemoteAgentParameters<SHARED_WORLDVIEW> setSharedWorldView(SHARED_WORLDVIEW sharedWorldView)
ISharedWorldView that should be used by this agent.
WARNING: Note that you should not mess with 'setters' in different threads as they are non-thread-safe and may interrupt horribly agent instantiations with such behavior.
sharedWorldView - public TeamRemoteAgentParameters<SHARED_WORLDVIEW> setAgentId(IAgentId agentId)
AgentParametersWARNING: Note that you should not mess with 'setters' in different threads as they are non-thread-safe and may interrupt horrible agent instantiations with such behavior.
setAgentId in class RemoteAgentParameterspublic TeamRemoteAgentParameters<SHARED_WORLDVIEW> setWorldAddress(IWorldConnectionAddress address)
RemoteAgentParametersWARNING: Note that you should not mess with 'setters' in different threads as they are non-thread-safe and may interrupt horrible agent instantiations with such behavior.
setWorldAddress in class RemoteAgentParameterspublic void assignDefaults(IAgentParameters defaults)
IAgentParameters
This method is meant as a hook for IAgentRunners that can ease the burden
of instantiating&launching the agent into a specific environment.
It assigns params from 'default' only to fields (of this) that are null!
assignDefaults in interface IAgentParametersassignDefaults in class RemoteAgentParametersdefaults - values that should filled missing parametersCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.