cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class ConfigChangeMessage.ConfigChangeSharedMessage

Package class diagram package ConfigChangeMessage.ConfigChangeSharedMessage
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChangeShared
          extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChangeMessage.ConfigChangeSharedMessage
All Implemented Interfaces:
IWorldObject, ISharedWorldObject, Cloneable
Enclosing class:
ConfigChangeMessage

public class ConfigChangeMessage.ConfigChangeSharedMessage
extends ConfigChangeShared

Implementation of the shared part of the GameBots2004 message CONFCH, used to facade CONFCHMessage.

Complete message documentation: Asynchronous message. Message sent when the bot configuration changed - each agent has a lot of parameters affecting his state in the environment. See each property for the details.


Field Summary
protected  HashMap<PropertyId,ISharedProperty> propertyMap
           
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChangeShared
SharedPropertyTokens, SimTime
 
Constructor Summary
ConfigChangeMessage.ConfigChangeSharedMessage()
           
 
Method Summary
 ConfigChangeMessage.ConfigChangeSharedMessage clone()
           
 UnrealId getId()
          Id of this config message.
 Map<PropertyId,ISharedProperty> getProperties()
           
 ISharedProperty getProperty(PropertyId id)
           
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChangeShared
getCompositeClass, getSimTime, setSimTime
 
Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
toJsonLiteral
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

propertyMap

protected HashMap<PropertyId,ISharedProperty> propertyMap
Constructor Detail

ConfigChangeMessage.ConfigChangeSharedMessage

public ConfigChangeMessage.ConfigChangeSharedMessage()
Method Detail

clone

public ConfigChangeMessage.ConfigChangeSharedMessage clone()
Specified by:
clone in interface ISharedWorldObject
Specified by:
clone in class ConfigChangeShared

getProperty

public ISharedProperty getProperty(PropertyId id)

getProperties

public Map<PropertyId,ISharedProperty> getProperties()

getId

public UnrealId getId()
Id of this config message. This Id is generated from BotId, string "_CONFCH" is added at the end.

Specified by:
getId in interface IWorldObject
Specified by:
getId in class ConfigChangeShared

toString

public String toString()
Overrides:
toString in class ConfigChangeShared

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class ConfigChangeShared


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.