[Red5] Methods in the service class calling methods in the application class
Jake Hilton
red5 at jakehilton.com
Mon Nov 19 13:55:08 PST 2007
Err... I hit send too soon... I was associating it with IScope when it
should have been with Application.. sorry..
Jake
On Nov 19, 2007 2:54 PM, Jake Hilton <red5 at jakehilton.com> wrote:
> After trying to get this to work I am reaching out yet again...
>
> The solution proposed:
>
> private void serviceMethod() {
> IClient client = Red5.getConnectionLocal().getClient();
> IScope scope = Red5.getConnectionLocal().getScope();
> Application app = (Application)scope.getHandler();
> app.anymethod();
> .
> .
> }
>
>
> I get the error:
> The method anymethod() is undefined for the type IScope
>
>
> Anyone else have an idea?
>
> Thanks,
> Jake
>
>
> On Nov 16, 2007 12:24 PM, Jake Hilton <red5 at jakehilton.com> wrote:
> > Thanks for the quick response.. I'll give it a go.
> >
> >
> > Jake
> >
> >
> > On Nov 16, 2007 12:04 PM, kyoung wan park <papakw at hotmail.com> wrote:
> > >
> > > hi jake
> > >
> > > private void serviceMethod() {
> > > IClient client = Red5.getConnectionLocal().getClient();
> > > IScope scope = Red5.getConnectionLocal().getScope();
> > > Application app = (Application)scope.getHandler();
> > > app.anymethod();
> > > .
> > > .
> > > }
> > >
> > > > Date: Fri, 16 Nov 2007 11:48:48 -0700
> > > > From: red5 at jakehilton.com
> > > > To: red5 at osflash.org
> > > > Subject: Re: [Red5] Methods in the service class calling methods in the
> > > application class
> > >
> > >
> > > >
> > > > Bump.. please anyone..
> > > >
> > > > Jake
> > > >
> > > > On Nov 6, 2007 12:56 PM, Jake Hilton <red5 at jakehilton.com> wrote:
> > > > > Just looking to see if there is a way to allow a client to call a
> > > > > method in the service class and then have that service method execute
> > > > > a method in my application class... doable?
> > > > >
> > > > > Thanks,
> > > > > Jake
> > > > >
> > > >
> > > > _______________________________________________
> > > > Red5 mailing list
> > > > Red5 at osflash.org
> > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > >
> > >
> > > ________________________________
> > > Get news, entertainment and everything you care about at Live.com. Check it
> > > out!
> > > _______________________________________________
> > > Red5 mailing list
> > > Red5 at osflash.org
> > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > >
> > >
> >
>
More information about the Red5
mailing list