cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class AliveMessageStaticImpl

Package class diagram package AliveMessageStaticImpl
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessageStatic
          extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessageStaticImpl
All Implemented Interfaces:
IWorldObject, IStaticWorldObject

public class AliveMessageStaticImpl
extends AliveMessageStatic

Implementation of the static 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)


Nested Class Summary
static class AliveMessageStaticImpl.AliveMessageStaticUpdate
           
 
Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessageStatic
AliveMessageId, SimTime
 
Constructor Summary
AliveMessageStaticImpl()
          Parameter-less contructor for the message.
AliveMessageStaticImpl(AliveMessage original)
          Cloning constructor from the full message.
AliveMessageStaticImpl(AliveMessageStatic original)
          Cloning constructor from the message part.
AliveMessageStaticImpl(AliveMessageStaticImpl original)
          Cloning constructor from the full message.
 
Method Summary
 AliveMessageStaticImpl clone()
           
 UnrealId getId()
           
 boolean isDifferentFrom(IStaticWorldObject other)
           
 void setSimTime(long SimTime)
          Used by Yylex to slip correct time of the object or programmatically.
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessageStatic
getCompositeClass, getSimTime
 
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
 

Constructor Detail

AliveMessageStaticImpl

public AliveMessageStaticImpl()
Parameter-less contructor for the message.


AliveMessageStaticImpl

public AliveMessageStaticImpl(AliveMessage original)
Cloning constructor from the full message.

Parameters:
original -

AliveMessageStaticImpl

public AliveMessageStaticImpl(AliveMessageStaticImpl original)
Cloning constructor from the full message.

Parameters:
original -

AliveMessageStaticImpl

public AliveMessageStaticImpl(AliveMessageStatic original)
Cloning constructor from the message part.

Parameters:
original -
Method Detail

getId

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

setSimTime

public void setSimTime(long SimTime)
Description copied from class: AliveMessageStatic
Used by Yylex to slip correct time of the object or programmatically.

Overrides:
setSimTime in class AliveMessageStatic

clone

public AliveMessageStaticImpl clone()
Specified by:
clone in class AliveMessageStatic

isDifferentFrom

public boolean isDifferentFrom(IStaticWorldObject other)
Specified by:
isDifferentFrom in interface IStaticWorldObject
Overrides:
isDifferentFrom in class AliveMessageStatic

toString

public String toString()
Overrides:
toString in class AliveMessageStatic

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class AliveMessageStatic


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