Additions to address bug 197332
diff --git a/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/chatroom/IChatRoomAdminSender.java b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/chatroom/IChatRoomAdminSender.java
new file mode 100644
index 0000000..17681b3
--- /dev/null
+++ b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/chatroom/IChatRoomAdminSender.java
@@ -0,0 +1,28 @@
+/****************************************************************************
+ * Copyright (c) 2007 Composent, Inc. and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Composent, Inc. - initial API and implementation
+ *****************************************************************************/
+
+package org.eclipse.ecf.presence.chatroom;
+
+import org.eclipse.ecf.core.util.ECFException;
+
+/**
+ * Perform administrative functions for an IChatRoomContainer.
+ */
+public interface IChatRoomAdminSender {
+
+ /**
+ * Send chat room subject change.
+ *
+ * @param newsubject the new subject for the chat room.
+ * @throws ECFException exception thrown if some problem sending message (e.g. disconnect).
+ */
+ public void sendSubjectChange(String newsubject) throws ECFException;
+}
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 8bba202..94470b7 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
@@ -90,6 +90,13 @@
public void removeChatRoomAdminListener(IChatRoomAdminListener adminListener);
/**
+ * Get chat room admin sender.
+ * @return IChatRoomAdminSender for sending admin update messages. Will return
+ * <code>null</code> if there is no sender available for provider.
+ */
+ public IChatRoomAdminSender getChatRoomAdminSender();
+
+ /**
* Returns an array of IDs of current chatroom participants.
*
* @return ID[] of chatroom participants. If no participants in chat room, will return