|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessageMessage
public class AliveMessageMessage

Implementation of the GameBots2004 message ALIVE contains also its Local/Shared/Static subpart class definitions..
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 | |
|---|---|
class |
AliveMessageMessage.AliveMessageLocalMessage
Implementation of the local part of the GameBots2004 message ALIVE, used to facade ALIVEMessage. |
class |
AliveMessageMessage.AliveMessageSharedMessage
Implementation of the shared part of the GameBots2004 message ALIVE, used to facade ALIVEMessage. |
class |
AliveMessageMessage.AliveMessageStaticMessage
Implementation of the static part of the GameBots2004 message ALIVE, used to facade ALIVEMessage. |
| Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessage |
|---|
AliveMessage.AliveMessageUpdate |
| Field Summary | |
|---|---|
protected ITeamId |
TeamId
|
protected double |
Time
Game time when this message was send. |
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessage |
|---|
AliveMessageId, PROTOTYPE, SimTime |
| Constructor Summary | |
|---|---|
AliveMessageMessage()
Parameter-less contructor for the message. |
|
AliveMessageMessage(AliveMessageMessage original)
Cloning constructor from the full message. |
|
AliveMessageMessage(double Time)
Creates new instance of the message AliveMessage. |
|
| Method Summary | |
|---|---|
UnrealId |
getId()
Returns an id of the object that is unique among all world objects. |
AliveMessageLocal |
getLocal()
|
AliveMessageShared |
getShared()
|
AliveMessageStatic |
getStatic()
|
ITeamId |
getTeamId()
|
double |
getTime()
Game time when this message was send. |
protected void |
setTeamId(ITeamId TeamId)
Used by Yylex to slip corretn TeamId. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toString()
|
IWorldObjectUpdateResult<IWorldObject> |
update(IWorldObject object)
|
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessage |
|---|
getSimTime, setSimTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent |
|---|
getSimTime |
| Field Detail |
|---|
protected ITeamId TeamId
protected double Time
| Constructor Detail |
|---|
public AliveMessageMessage()
public AliveMessageMessage(double Time)
Time - Game time when this message was send.public AliveMessageMessage(AliveMessageMessage original)
original - | Method Detail |
|---|
public UnrealId getId()
IWorldObject
getId in interface IWorldObjectUpdatedEventgetId in interface IWorldObjectgetId in class AliveMessageprotected void setTeamId(ITeamId TeamId)
public ITeamId getTeamId()
public double getTime()
AliveMessage
getTime in class AliveMessagepublic AliveMessageLocal getLocal()
getLocal in interface ICompositeWorldObjectpublic AliveMessageShared getShared()
getShared in interface ICompositeWorldObjectpublic AliveMessageStatic getStatic()
getStatic in interface ICompositeWorldObjectpublic IWorldObjectUpdateResult<IWorldObject> update(IWorldObject object)
update in interface IWorldObjectUpdatedEventpublic java.lang.String toString()
toString in class AliveMessagepublic java.lang.String toHtmlString()
toHtmlString in class AliveMessage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||