Sorry, the other patch file had a problem. This patch file should work for
getAttributes support in ApplicationScope.

If SharedObjectScope-getAttributes.diff patch is in src/org/red5/server/so/
directory, then run patch as follows:

patch -p1 < SharedObjectScope-getAttributes.diff

--
C is forever.
Index: so.patched/SharedObjectScope.java
===================================================================
--- so.patched/SharedObjectScope.java	(revision 1687)
+++ so.patched/SharedObjectScope.java	(working copy)
@@ -312,6 +312,12 @@
 
 	/** [EMAIL PROTECTED] */
     @Override
+    public Map<String, Object> getAttributes() {
+    	return so.getAttributes();
+    }
+
+	/** [EMAIL PROTECTED] */
+    @Override
 	public Set<String> getAttributeNames() {
 		return so.getAttributeNames();
 	}
@@ -507,4 +513,4 @@
 		so = null;
 	}
 
-}
\ No newline at end of file
+}
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to