cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class AliveMessageMessage.AliveMessageSharedMessage

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

public class AliveMessageMessage.AliveMessageSharedMessage
extends AliveMessageShared

Implementation of the shared part of the GameBots2004 message ALIVE, used to facade ALIVEMessage.

Complete message documentation: Synchronous message. Alive message are for confirmation, that the connection is still working. They are sent periodically with usual period of one second (this can change depending on the configuration of ControlServer)


Field Summary
protected  HashMap<PropertyId,ISharedProperty> propertyMap
           
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessageShared
AliveMessageId, SharedPropertyTokens, SimTime
 
Constructor Summary
AliveMessageMessage.AliveMessageSharedMessage()
           
 
Method Summary
 AliveMessageMessage.AliveMessageSharedMessage clone()
           
 UnrealId getId()
           
 Map<PropertyId,ISharedProperty> getProperties()
           
 ISharedProperty getProperty(PropertyId id)
           
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessageShared
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

AliveMessageMessage.AliveMessageSharedMessage

public AliveMessageMessage.AliveMessageSharedMessage()
Method Detail

getId

public UnrealId getId()
Specified by:
getId in interface IWorldObject
Overrides:
getId in class AliveMessageShared

clone

public AliveMessageMessage.AliveMessageSharedMessage clone()
Specified by:
clone in interface ISharedWorldObject
Specified by:
clone in class AliveMessageShared

getProperty

public ISharedProperty getProperty(PropertyId id)

getProperties

public Map<PropertyId,ISharedProperty> getProperties()

toString

public String toString()
Overrides:
toString in class AliveMessageShared

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class AliveMessageShared


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