|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectServer.Conversation
public class Conversation
| Constructor Summary | |
|---|---|
Conversation(User creator,
Server server)
|
|
| Method Summary | |
|---|---|
void |
addUser(User newUser)
Adds a user to a conversation. |
int |
getConvID()
Gets gonversation ID. |
java.lang.String[] |
getUserList()
|
void |
inviteUser(User newUser)
Invite a user to a conversation. |
void |
relayText(java.lang.String msg,
User sender)
Relays a String message to all Users in the conversation _except_ the sender |
void |
removeUser(User user)
Removes a user to a conversation. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Conversation(User creator,
Server server)
| Method Detail |
|---|
public int getConvID()
public void relayText(java.lang.String msg,
User sender)
msg - String specifying the message to relay to all memberssender - User specifying which user to not send a message topublic void addUser(User newUser)
newUser - User to be addedpublic void removeUser(User user)
user - public void inviteUser(User newUser)
newUser - user to be invitedpublic java.lang.String[] getUserList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||