cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands
Class DisconnectObserver
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.DisconnectObserver
public class DisconnectObserver
- extends CommandMessage
Representation of the GameBots2004 command DISC.
Disconnect the observing connection from the currently observed player.
You can pick a new player to observe using the INIT command.
Field Summary |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PROTOTYPE
public static final java.lang.String PROTOTYPE
- Example how the message looks like - used during parser tests.
- See Also:
- Constant Field Values
DisconnectObserver
public DisconnectObserver()
- Creates new instance of command DisconnectObserver.
Disconnect the observing connection from the currently observed player.
You can pick a new player to observe using the INIT command.
Corresponding GameBots message for this command is
DISC.
DisconnectObserver
public DisconnectObserver(DisconnectObserver original)
- Cloning constructor.
- Parameters:
original
-
toString
public java.lang.String toString()
- Overrides:
toString
in class CommandMessage
toHtmlString
public java.lang.String toHtmlString()
toMessage
public java.lang.String toMessage()