|
||||||||||
| 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 |
| Nested classes/interfaces inherited from interface cz.cuni.amis.pogamut.base.communication.translator.event.IWorldObjectUpdatedEvent |
|---|
IWorldObjectUpdatedEvent.DestroyWorldObject |
| Field Summary | |
|---|---|
protected ITeamId |
TeamId
|
protected double |
Time
Game time when this message was send. |
protected boolean |
Time_Set
Whether property 'Time' was received from GB2004. |
| 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()
|
AliveMessageLocal |
getLocal()
|
ILocalWorldObjectUpdatedEvent |
getLocalEvent()
|
AliveMessageShared |
getShared()
|
ISharedWorldObjectUpdatedEvent |
getSharedEvent()
|
AliveMessageStatic |
getStatic()
|
IStaticWorldObjectUpdatedEvent |
getStaticEvent()
|
ITeamId |
getTeamId()
|
double |
getTime()
Game time when this message was send. |
protected void |
setTeamId(ITeamId TeamId)
Used by Yylex to slip corretn TeamId. |
String |
toHtmlString()
|
String |
toString()
|
IWorldObjectUpdateResult<IWorldObject> |
update(IWorldObject object)
|
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessage |
|---|
getSimTime, setSimTime, toJsonLiteral |
| 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
protected boolean Time_Set
| 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()
getId in interface IWorldObjectUpdatedEventgetId in interface IWorldObjectgetId in interface ICompositeWorldObjectUpdatedEventgetId 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 ILocalWorldObjectUpdatedEvent getLocalEvent()
getLocalEvent in interface ICompositeWorldObjectUpdatedEventpublic ISharedWorldObjectUpdatedEvent getSharedEvent()
getSharedEvent in interface ICompositeWorldObjectUpdatedEventpublic IStaticWorldObjectUpdatedEvent getStaticEvent()
getStaticEvent in interface ICompositeWorldObjectUpdatedEventpublic String toString()
toString in class AliveMessagepublic String toHtmlString()
toHtmlString in class AliveMessage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||