public class GroupChatRoomListener extends java.lang.Object implements ChatRoomListener
Constructor and Description |
---|
GroupChatRoomListener() |
Modifier and Type | Method and Description |
---|---|
void |
chatRoomActivated(ChatRoom room)
Invoked by
ChatRooms when a ChatRoom has been activated. |
void |
chatRoomClosed(ChatRoom room)
Invoke by
ChatRooms when a ChatRoom has been closed. |
void |
chatRoomLeft(ChatRoom room)
Invoked by
ChatRooms when a ChatRoom has been left, but not
closed. |
void |
chatRoomOpened(ChatRoom room)
Invoked by
ChatRooms when a new ChatRoom has been opened. |
void |
userHasJoined(ChatRoom room,
java.lang.String userid)
Invoked by
ChatRooms when a person has joined a chat room. |
void |
userHasLeft(ChatRoom room,
java.lang.String userid)
Invoked by
ChatRooms when a person has left a chat room. |
public void chatRoomOpened(ChatRoom room)
ChatRoomListener
ChatRooms
when a new ChatRoom has been opened.chatRoomOpened
in interface ChatRoomListener
room
- - the ChatRoom
that has been opened.ChatContainer
public void chatRoomLeft(ChatRoom room)
ChatRoomListener
ChatRooms
when a ChatRoom has been left, but not
closed.chatRoomLeft
in interface ChatRoomListener
room
- - the ChatRoom
that has been left.ChatContainer
public void chatRoomClosed(ChatRoom room)
ChatRoomListener
ChatRooms
when a ChatRoom has been closed.chatRoomClosed
in interface ChatRoomListener
room
- - the ChatRoom
that has been closed.public void chatRoomActivated(ChatRoom room)
ChatRoomListener
ChatRooms
when a ChatRoom has been activated.
i.e. it has already been opened, but was deactivated when the user
selected a new chat room, but now has selected the old one.chatRoomActivated
in interface ChatRoomListener
room
- - the ChatRoom
that has been selected.public void userHasJoined(ChatRoom room, java.lang.String userid)
ChatRoomListener
ChatRooms
when a person has joined a chat room.userHasJoined
in interface ChatRoomListener
room
- - the chat room the person has joineduserid
- - the userid of the person who has joinedpublic void userHasLeft(ChatRoom room, java.lang.String userid)
ChatRoomListener
ChatRooms
when a person has left a chat room.userHasLeft
in interface ChatRoomListener
room
- - the chat room the person has leftuserid
- - the userid of the person who has left