Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2007-09-02 03:15:13 -0400
committerslewis2007-09-02 03:15:13 -0400
commit5748fd515bbd21185d0457968dc872744c6e21fd (patch)
tree509ce3ac8ebe04bae86f9a750283bdc6d78923f7 /framework/bundles/org.eclipse.ecf.presence
parentdbd809e2dc74215710a2ee26eca65ceeb763b9c3 (diff)
downloadorg.eclipse.ecf-5748fd515bbd21185d0457968dc872744c6e21fd.tar.gz
org.eclipse.ecf-5748fd515bbd21185d0457968dc872744c6e21fd.tar.xz
org.eclipse.ecf-5748fd515bbd21185d0457968dc872744c6e21fd.zip
Additions and test code for enhancements for bug 197007
Diffstat (limited to 'framework/bundles/org.eclipse.ecf.presence')
-rw-r--r--framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/chatroom/IChatRoomContainer.java14
1 files changed, 10 insertions, 4 deletions
diff --git a/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/chatroom/IChatRoomContainer.java b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/chatroom/IChatRoomContainer.java
index 45b9a901e..b04cb6cf2 100644
--- a/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/chatroom/IChatRoomContainer.java
+++ b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/chatroom/IChatRoomContainer.java
@@ -11,6 +11,7 @@
package org.eclipse.ecf.presence.chatroom;
import org.eclipse.ecf.core.IContainer;
+import org.eclipse.ecf.core.identity.ID;
import org.eclipse.ecf.presence.IIMMessageListener;
import org.eclipse.ecf.presence.im.IChatMessageSender;
@@ -61,8 +62,7 @@ public interface IChatRoomContainer extends IContainer {
* @param participantListener
* to add. Must not be <code>null</code>.
*/
- public void addChatRoomParticipantListener(
- IChatRoomParticipantListener participantListener);
+ public void addChatRoomParticipantListener(IChatRoomParticipantListener participantListener);
/**
* Remove chat room participant listener.
@@ -71,8 +71,7 @@ public interface IChatRoomContainer extends IContainer {
* the participant listener to remove. Must not be
* <code>null</code>.
*/
- public void removeChatRoomParticipantListener(
- IChatRoomParticipantListener participantListener);
+ public void removeChatRoomParticipantListener(IChatRoomParticipantListener participantListener);
/**
* Add chat room admin listener to listen for room admin changes.
@@ -90,4 +89,11 @@ public interface IChatRoomContainer extends IContainer {
*/
public void removeChatRoomAdminListener(IChatRoomAdminListener adminListener);
+ /**
+ * Returns an array of IDs of current chatroom participants.
+ *
+ * @return ID[] of chatroom participants. If no participants in chat room, will return
+ * an empty array. Will not return <code>null</code>
+ */
+ public ID[] getChatRoomParticipants();
}

Back to the top