public class Room extends Object
Constructor and Description |
---|
Room()
create a public room
|
Room(IUserInfo owner) |
Modifier and Type | Method and Description |
---|---|
void |
addMember(PublicUserInfo user) |
void |
addMessages(String userName,
String body) |
String |
getCreationTime() |
String |
getDescription() |
List<PublicUserInfo> |
getMember() |
Collection<Message> |
getMessages() |
String |
getName() |
PublicUserInfo |
getOwner() |
void |
removeMember(String login) |
public Room(IUserInfo owner)
public Room()
public List<PublicUserInfo> getMember()
public void addMember(PublicUserInfo user)
public void removeMember(String login)
public Collection<Message> getMessages()
public PublicUserInfo getOwner()
public String getName()
public String getDescription()
public String getCreationTime()
Copyright © 2012-2018. All Rights Reserved.