jfreerails.network
Class LogOnRequest

java.lang.Object
  extended by jfreerails.network.LogOnRequest
All Implemented Interfaces:
java.io.Serializable, FreerailsSerializable

public class LogOnRequest
extends java.lang.Object
implements FreerailsSerializable

A client sends an instance of this class to the server when it wishes to log on.

Author:
Luke
See Also:
Serialized Form

Field Summary
private  java.lang.String password
           
private static long serialVersionUID
           
private  java.lang.String username
           
 
Constructor Summary
LogOnRequest(java.lang.String username, java.lang.String password)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getPassword()
           
 java.lang.String getUsername()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

username

private final java.lang.String username

password

private final java.lang.String password
Constructor Detail

LogOnRequest

public LogOnRequest(java.lang.String username,
                    java.lang.String password)
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getPassword

public java.lang.String getPassword()

getUsername

public java.lang.String getUsername()