cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages
Class PathListStart

Package class diagram package PathListStart
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages.PathListStart
All Implemented Interfaces:
IWorldChangeEvent, IWorldEvent, cz.cuni.amis.utils.listener.Event

public class PathListStart
extends InfoMessage
implements IWorldEvent, IWorldChangeEvent

Start of the path list sent as an response to GETPATH command (IPTH messages). Corresponding GameBots message is SPTH.


Field Summary
protected  String MessageId
          An Id matching the one sent by client.
static String PROTOTYPE
          Example how the message looks like - used during parser tests.
 
Constructor Summary
PathListStart()
          Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).
PathListStart(PathListStart original)
          Cloning constructor.
PathListStart(String MessageId)
          Creates new instance of command PathListStart.
 
Method Summary
 String getMessageId()
          An Id matching the one sent by client.
 long getSimTime()
           
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
toJsonLiteral
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROTOTYPE

public static final String PROTOTYPE
Example how the message looks like - used during parser tests.

See Also:
Constant Field Values

MessageId

protected String MessageId
An Id matching the one sent by client. Allows bot to match answer with right query.

Constructor Detail

PathListStart

public PathListStart(String MessageId)
Creates new instance of command PathListStart. Start of the path list sent as an response to GETPATH command (IPTH messages). Corresponding GameBots message for this command is .

Parameters:
MessageId - An Id matching the one sent by client. Allows bot to match answer with right query.

PathListStart

public PathListStart(PathListStart original)
Cloning constructor.


PathListStart

public PathListStart()
Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).

Method Detail

getMessageId

public String getMessageId()
An Id matching the one sent by client. Allows bot to match answer with right query.


getSimTime

public long getSimTime()
Specified by:
getSimTime in interface IWorldChangeEvent
Specified by:
getSimTime in interface IWorldEvent

toString

public String toString()
Overrides:
toString in class InfoMessage

toHtmlString

public String toHtmlString()


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