|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectservlet.ControlStatus
public class ControlStatus
This class checks if the users of the contacts list are on-line.
| Field Summary | |
|---|---|
private int |
finalsize
|
private ContactList |
list
|
private ContactList |
temp
|
private User |
user
|
| Constructor Summary | |
|---|---|
ControlStatus(ContactList cl,
User user)
The constructor |
|
| Method Summary | |
|---|---|
private void |
addUser(User name)
This method adds a user of the new list. |
ContactList |
getFinalList()
Returns the final contacts list. |
User |
getUser()
This method gets and removes the first user of the list. |
void |
setUser(User name)
If the user is a friend, checks if he is online. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ContactList temp
private ContactList list
private User user
private int finalsize
| Constructor Detail |
|---|
public ControlStatus(ContactList cl,
User user)
cl - the contacts listuser - the user| Method Detail |
|---|
public User getUser()
private void addUser(User name)
name - public void setUser(User name)
name - the userpublic ContactList getFinalList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||