cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands
Class PasswordReply

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

public class PasswordReply
extends CommandMessage

Representation of the GameBots2004 command PASSWORD. Send password to the server. For more information see command SETPASS.


Field Summary
protected  String Password
          The password.
static String PROTOTYPE
          Example how the message looks like - used during parser tests.
 
Constructor Summary
PasswordReply()
          Creates new instance of command PasswordReply.
PasswordReply(PasswordReply original)
          Cloning constructor.
PasswordReply(String Password)
          Creates new instance of command PasswordReply.
 
Method Summary
 String getPassword()
          The password.
 PasswordReply setPassword(String Password)
          The password.
 String toHtmlString()
           
 String toMessage()
           
 String toString()
           
 
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

Password

protected String Password
The password.

Constructor Detail

PasswordReply

public PasswordReply(String Password)
Creates new instance of command PasswordReply. Send password to the server. For more information see command SETPASS. Corresponding GameBots message for this command is PASSWORD.

Parameters:
Password - The password.

PasswordReply

public PasswordReply()
Creates new instance of command PasswordReply. Send password to the server. For more information see command SETPASS. Corresponding GameBots message for this command is PASSWORD.

WARNING: this is empty-command constructor, you have to use setters to fill it up with data that should be sent to GameBots2004!


PasswordReply

public PasswordReply(PasswordReply original)
Cloning constructor.

Parameters:
original -
Method Detail

getPassword

public String getPassword()
The password.


setPassword

public PasswordReply setPassword(String Password)
The password.


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.