« Return to Thread: making application scope public static

Re: making application scope public static

by Andy Shaules :: Rate this Message:

Reply to Author | View in Thread

Works fine for me.


----- Original Message -----
From: "Aljosa Mohorovic" <aljosa.mohorovic@...>
To: <red5@...>
Sent: Tuesday, July 07, 2009 7:29 AM
Subject: [Red5] making application scope public static


> any comments on making app scope public and static so i could easily
> access it in different parts of application?
>
> sample code:
> ----------------------------------------------------------------------------------------------------
> public class Application extends MultiThreadedApplicationAdapter {
> public static IScope appScope;
>
> @Override
> public boolean appStart(IScope app) {
> appScope = app;
> ----------------------------------------------------------------------------------------------------
>
> Aljosa Mohorovic
>
> _______________________________________________
> Red5 mailing list
> Red5@...
> http://osflash.org/mailman/listinfo/red5_osflash.org
>


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

 « Return to Thread: making application scope public static