uhm also if i now look very dumb to the most java dev“s here . but tried
to combine a SO
sample with the "how to... new application" >add example< eg.:
*_________*
*[JAVA]
*---------
import org.red5.server.adapter.ApplicationAdapter;
public class Application extends ApplicationAdapter
{
public double add(double a, double b)
{
return a + b;
}
}
---------
*[/JAVA]
_________
*
well anyway, i wheter call the "add function" or i can use the shared
objet stuff but i cant do both :-(
that belongs to my settings in the red5-web.xml eg.:
*_________*
*[ red5-web.xml ]
*---------
<bean id="web.handler"
class="org.red5.server.adapter.ApplicationAdapter"
singleton="true" />
---------
*[ red5-web.xml ]*
*_________*
when i configure it that way the SO functionality works but to get a
result from the add function
i would need to change this line here:
class="org.red5.server.adapter.ApplicationAdapter"
to
class="drawing/Application"
i thought in case of the Application cla extends the ApplicationAdapter
class it should work because this is needed for the SO...
where is my foult??
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org