|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChatRoomListener
The ChatRoomListener
interface is one of the interfaces extension
writers use to add functionality to Spark.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void chatRoomOpened(ChatRoom room)
ChatRooms
when a new ChatRoom has been opened.
room
- - the ChatRoom
that has been opened.ChatContainer
void chatRoomLeft(ChatRoom room)
ChatRooms
when a ChatRoom has been left, but not
closed.
room
- - the ChatRoom
that has been left.ChatContainer
void chatRoomClosed(ChatRoom room)
ChatRooms
when a ChatRoom has been closed.
room
- - the ChatRoom
that has been closed.void chatRoomActivated(ChatRoom room)
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.
room
- - the ChatRoom
that has been selected.void userHasJoined(ChatRoom room, java.lang.String userid)
ChatRooms
when a person has joined a chat room.
room
- - the chat room the person has joineduserid
- - the userid of the person who has joinedvoid userHasLeft(ChatRoom room, java.lang.String userid)
ChatRooms
when a person has left a chat room.
room
- - the chat room the person has leftuserid
- - the userid of the person who has left
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |