Package org.javlo.service.messaging
Class Room
- java.lang.Object
-
- org.javlo.service.messaging.Room
-
public class Room extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
Room
public Room(IUserInfo owner)
-
Room
public Room()
create a public room
-
-
Method Detail
-
getMember
public List<PublicUserInfo> getMember()
-
addMember
public void addMember(PublicUserInfo user)
-
removeMember
public void removeMember(String login)
-
getMessages
public Collection<Message> getMessages()
-
getOwner
public PublicUserInfo getOwner()
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getCreationTime
public String getCreationTime()
-
-