net.sf.wallace.messages
Class LoginMessage

java.lang.Object
  extended by net.sf.wallace.messages.AbstractMessage
      extended by net.sf.wallace.messages.LoginMessage
All Implemented Interfaces:
ClientMessage

public final class LoginMessage
extends AbstractMessage

The LOGIN command.

Author:
rnewson

Constructor Summary
LoginMessage()
           
 
Method Summary
 Command getCommand()
          Return a command object capable of processing this message.
 String getPassword()
           
 String getUsername()
           
 void setPassword(String newPassword)
           
 void setUsername(String newUsername)
           
 
Methods inherited from class net.sf.wallace.messages.AbstractMessage
getTag, setTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginMessage

public LoginMessage()
Method Detail

setUsername

public void setUsername(String newUsername)

getUsername

public String getUsername()

setPassword

public void setPassword(String newPassword)

getPassword

public String getPassword()

getCommand

public Command getCommand()
Description copied from interface: ClientMessage
Return a command object capable of processing this message. This is generally implemented as an inner class. If so, care must be taken to use the client message parameter, and not access the outer Message instance.

Returns:


Copyright © 2004-2005 Robert Newson. All Rights Reserved.