net.sf.wallace.messages
Class LoginMessage
java.lang.Object
net.sf.wallace.messages.AbstractMessage
net.sf.wallace.messages.LoginMessage
- All Implemented Interfaces:
- ClientMessage
public final class LoginMessage
- extends AbstractMessage
The LOGIN command.
- Author:
- rnewson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoginMessage
public LoginMessage()
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.