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

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

public class Quit
extends CommandMessage

Will shutdown the connection and potentialy kill and remove the bot from a game (if sent to bot), the same can be achieved just by closing the connection. Corresponding GameBots command is QUIT.


Constructor Summary
Quit()
          Creates new instance of command Quit.
Quit(Quit 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

Quit

public Quit()
Creates new instance of command Quit. Will shutdown the connection and potentialy kill and remove the bot from a game (if sent to bot), the same can be achieved just by closing the connection. Corresponding GameBots message for this command is QUIT.


Quit

public Quit(Quit 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.