Class BabylonUser
java.lang.Object
BabylonUser
public class BabylonUser
- extends java.lang.Object
A structure class used for containing info about a user. Both the client
and the server make use of this class.
- Author:
- Andy McLaughlin
|
Constructor Summary |
BabylonUser(BabylonServer server)
This constructor will be used by the server, since it automatically
assigns a new user Id |
BabylonUser(int i,
java.lang.String nm,
java.lang.String pw,
java.lang.String em,
java.lang.String add,
java.lang.String lang)
This constructor will be used by the client, with information supplied
by the server |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected int id
name
protected java.lang.String name
password
protected java.lang.String password
email
protected java.lang.String email
additional
protected java.lang.String additional
language
protected java.lang.String language
chatroomName
protected java.lang.String chatroomName
chatroom
protected BabylonChatRoom chatroom
BabylonUser
public BabylonUser(BabylonServer server)
- This constructor will be used by the server, since it automatically
assigns a new user Id
BabylonUser
public BabylonUser(int i,
java.lang.String nm,
java.lang.String pw,
java.lang.String em,
java.lang.String add,
java.lang.String lang)
- This constructor will be used by the client, with information supplied
by the server