cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class AliveMessageMessage.AliveMessageLocalMessage
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessageLocal
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessageMessage.AliveMessageLocalMessage
- All Implemented Interfaces:
- IWorldObject, ILocalWorldObject, java.lang.Cloneable
- Enclosing class:
- AliveMessageMessage
public class AliveMessageMessage.AliveMessageLocalMessage
- extends AliveMessageLocal
Implementation of the local 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)
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AliveMessageMessage.AliveMessageLocalMessage
public AliveMessageMessage.AliveMessageLocalMessage()
getId
public UnrealId getId()
- Description copied from interface:
IWorldObject
- Returns an id of the object that is unique among all world objects.
- Specified by:
getId
in interface IWorldObject
- Overrides:
getId
in class AliveMessageLocal
- Returns:
clone
public AliveMessageMessage.AliveMessageLocalMessage clone()
- Specified by:
clone
in interface ILocalWorldObject
- Specified by:
clone
in class AliveMessageLocal
getLocal
public AliveMessageMessage.AliveMessageLocalMessage getLocal()
- Overrides:
getLocal
in class AliveMessageLocal
getShared
public ISharedWorldObject getShared()
- Overrides:
getShared
in class AliveMessageLocal
getStatic
public IStaticWorldObject getStatic()
- Overrides:
getStatic
in class AliveMessageLocal
getTime
public double getTime()
- Game time when this message was send.
- Specified by:
getTime
in class AliveMessageLocal
toString
public java.lang.String toString()
- Overrides:
toString
in class AliveMessageLocal
toHtmlString
public java.lang.String toHtmlString()
- Overrides:
toHtmlString
in class AliveMessageLocal