cz.cuni.amis.pogamut.udk.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.udk.communication.messages.gbcommands.PasswordReply

public class PasswordReply
extends CommandMessage

Send password to the server. For more information see command SETPASS. Corresponding GameBots command is PASSWORD.


Field Summary
protected  String Password
          The password.
 
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

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!


PasswordReply

public PasswordReply(PasswordReply original)
Cloning constructor.

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.