cz.cuni.amis.pogamut.udk.communication.messages.gbcommands
Class Ping

Package class diagram package Ping
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
      extended by cz.cuni.amis.pogamut.udk.communication.messages.gbcommands.Ping

public class Ping
extends CommandMessage

Command for connection detection. Server will return PONG. Corresponding GameBots command is PING.


Constructor Summary
Ping()
          Creates new instance of command Ping.
Ping(Ping original)
          Cloning constructor.
 
Method Summary
 String toHtmlString()
           
 String toMessage()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.

Method Detail

toString

public String toString()
Overrides:
toString in class CommandMessage

toHtmlString

public String toHtmlString()

toMessage

public String toMessage()


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