|
||||||||||
| 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.AliveMessageLocal
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessageLocalImpl
public class AliveMessageLocalImpl
Implementation of the local 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 |
AliveMessageLocalImpl.AliveMessageLocalUpdate
|
| Field Summary | |
|---|---|
protected double |
Time
Game time when this message was send. |
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessageLocal |
|---|
AliveMessageId, SimTime |
| Constructor Summary | |
|---|---|
AliveMessageLocalImpl()
Parameter-less contructor for the message. |
|
AliveMessageLocalImpl(AliveMessage original)
Cloning constructor from the full message. |
|
AliveMessageLocalImpl(AliveMessageLocal original)
Cloning constructor from the message part. |
|
AliveMessageLocalImpl(AliveMessageLocalImpl original)
Cloning constructor from the full message. |
|
| Method Summary | |
|---|---|
AliveMessageLocalImpl |
clone()
|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getId()
|
AliveMessageLocalImpl |
getLocal()
|
cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject |
getShared()
|
cz.cuni.amis.pogamut.multi.communication.worldview.object.IStaticWorldObject |
getStatic()
|
double |
getTime()
Game time when this message was send. |
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.AliveMessageLocal |
|---|
getCompositeClass, getSimTime |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected double Time
| Constructor Detail |
|---|
public AliveMessageLocalImpl()
public AliveMessageLocalImpl(AliveMessage original)
original - public AliveMessageLocalImpl(AliveMessageLocalImpl original)
original - public AliveMessageLocalImpl(AliveMessageLocal original)
original - | Method Detail |
|---|
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
getId in interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObjectgetId in class AliveMessageLocalpublic void setSimTime(long SimTime)
AliveMessageLocal
setSimTime in class AliveMessageLocalpublic AliveMessageLocalImpl clone()
clone in interface cz.cuni.amis.pogamut.multi.communication.worldview.object.ILocalWorldObjectclone in class AliveMessageLocalpublic double getTime()
getTime in class AliveMessageLocalpublic AliveMessageLocalImpl getLocal()
getLocal in class AliveMessageLocalpublic cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject getShared()
getShared in class AliveMessageLocalpublic cz.cuni.amis.pogamut.multi.communication.worldview.object.IStaticWorldObject getStatic()
getStatic in class AliveMessageLocalpublic String toString()
toString in class AliveMessageLocalpublic String toHtmlString()
toHtmlString in class AliveMessageLocal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||