|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.omus.core.User
Represents a user.
| Method Summary | |
java.lang.String |
getEmail()
Returns the email address of the user. |
java.lang.String |
getName()
Returns the name of the user. |
java.lang.String |
getPassword()
Returns the password of the user. |
int |
getPermissions()
Returns the permissions of the user, a number between 0 and 10. |
PropertySet |
getProperties()
Returns the PropertySet object associated with this user. |
void |
logout(java.lang.String errCode)
Logs out the user, passing the specified error code to the client before closing the connection. |
void |
sendToClient(Message msg)
Sends the specified Message to the Flash client of this user. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public java.lang.String getName()
public java.lang.String getPassword()
public java.lang.String getEmail()
public int getPermissions()
0 user has been deleted
1 user has been banned
2-8 user has normal status
9-10 user has administrator status
The values between 2 and 8 make no difference to the Oregano Server. You can use them for your application logic. A user who has administrator status will not be logged out if you switch the server to debug mode using the admin client.
public PropertySet getProperties()
public void sendToClient(Message msg)
onMessage event handler in the client side Messenger object.public void logout(java.lang.String errCode)
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||