---------- Forwarded message ----------
From:
Mário Júnior <junin...@gmail.com>
Date: 2009/6/12
Subject: Using Red5Plugin and Jedai
To:
re...@osflash.orgHello all.
I'm using Red5Plugin and Jedai, but I need to load some informations about my user stored in my database (name, photo, city, state, ip, permissions, etc...)
So, I created a new class named of MyClient extending from Client (org.red5.server.framework.Client) taht contains my specifics attributes.
I loaded my user from database and I set each atribute in MyClient object, but it is not working. No Exception is thrown, but my user don't appears in my "clientlist" (s shared object managed by org.red5.server.framework.ClientManager).
If I to use a single Client (showed in the samples), works pefectly but with MyClient class (already extending the Client), is not functional.
My question is: I can not to create my customs clients?
As a suggestion, maybe it would be better to change the method signature addClient to accept an interface IClient instead that a concrete object.
Now, how do I create my own clients with specific attributes?
Thanks!
--
Mário Júnior
Programador Java / Adobe Flex
http://blog.mariojunior.com