|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IChatRoomContainer
A container representing a specific chat room.
Method Summary | |
---|---|
void |
addChatRoomAdminListener(IChatRoomAdminListener adminListener)
Add chat room admin listener to listen for room admin changes. |
void |
addChatRoomParticipantListener(IChatRoomParticipantListener participantListener)
Add chat room participant listener. |
void |
addMessageListener(IIMMessageListener listener)
Add message listener. |
IChatRoomAdminSender |
getChatRoomAdminSender()
Get chat room admin sender. |
IChatRoomMessageSender |
getChatRoomMessageSender()
Get interface for sending messages |
ID[] |
getChatRoomParticipants()
Returns an array of IDs of current chatroom participants. |
IChatMessageSender |
getPrivateMessageSender()
Retrieve a chat message sender to send private chat messages to other participants. |
void |
removeChatRoomAdminListener(IChatRoomAdminListener adminListener)
Remove chat room admin listener. |
void |
removeChatRoomParticipantListener(IChatRoomParticipantListener participantListener)
Remove chat room participant listener. |
void |
removeMessageListener(IIMMessageListener listener)
Remove message listener. |
Methods inherited from interface org.eclipse.ecf.core.IContainer |
---|
addListener, connect, disconnect, dispose, getAdapter, getConnectedID, getConnectNamespace, removeListener |
Methods inherited from interface org.eclipse.ecf.core.identity.IIdentifiable |
---|
getID |
Method Detail |
---|
void addMessageListener(IIMMessageListener listener)
listener
- the listener to add. Must not be null
.void removeMessageListener(IIMMessageListener listener)
listener
- the listener to remove. Must not be null
.IChatMessageSender getPrivateMessageSender()
null
will be returned.
null
, sending chat messages not supported by this
provider.IChatRoomMessageSender getChatRoomMessageSender()
null
if no message
sender available for the provider implementation.void addChatRoomParticipantListener(IChatRoomParticipantListener participantListener)
participantListener
- to add. Must not be null
.void removeChatRoomParticipantListener(IChatRoomParticipantListener participantListener)
participantListener
- the participant listener to remove. Must not be
null
.void addChatRoomAdminListener(IChatRoomAdminListener adminListener)
adminListener
- the listener to add. Must not be null
.void removeChatRoomAdminListener(IChatRoomAdminListener adminListener)
adminListener
- the listener to remove. Must not be null
.IChatRoomAdminSender getChatRoomAdminSender()
null
if there is no sender available for provider.ID[] getChatRoomParticipants()
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |