cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class AliveMessageSharedImpl
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessageShared
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessageSharedImpl
- All Implemented Interfaces:
- IWorldObject, ISharedWorldObject, Cloneable
public class AliveMessageSharedImpl
- extends AliveMessageShared
Implementation of the shared part of the GameBots2004 message ALIVE.
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)
propertyMap
protected HashMap<PropertyId,ISharedProperty> propertyMap
AliveMessageSharedImpl
public AliveMessageSharedImpl(AliveMessageSharedImpl source)
AliveMessageSharedImpl
public AliveMessageSharedImpl(WorldObjectId objectId,
Collection<ISharedProperty> properties)
getId
public UnrealId getId()
- Specified by:
getId
in interface IWorldObject
- Overrides:
getId
in class AliveMessageShared
setSimTime
public void setSimTime(long SimTime)
- Description copied from class:
AliveMessageShared
- Used by Yylex to slip correct time of the object or programmatically.
- Overrides:
setSimTime
in class AliveMessageShared
clone
public AliveMessageSharedImpl 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.