cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands
Class Ping
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.Ping
public class Ping
- extends CommandMessage
Representation of the GameBots2004 command PING.
Command for connection detection. Server will return PONG.
Field Summary |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary |
Ping()
Creates new instance of command Ping. |
Ping(Ping original)
Cloning constructor. |
PROTOTYPE
public static final String PROTOTYPE
- Example how the message looks like - used during parser tests.
- See Also:
- Constant Field Values
Ping
public Ping()
- Creates new instance of command Ping.
Command for connection detection. Server will return PONG.
Corresponding GameBots message for this command is
PING.
Ping
public Ping(Ping original)
- Cloning constructor.
- Parameters:
original
-
toString
public String toString()
- Overrides:
toString
in class CommandMessage
toHtmlString
public String toHtmlString()
toMessage
public String toMessage()
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.