Hello,
I am calling server function from flash. Someone knows how could I get the
IConnection object or IClient object inside this server function? (example
code is below)
Thanks in advance,
Klemen Nagode
-------------------------------------------------------------------------------------------------------
public void sendMessageToAll(String msg){ // method is called from
flash
/* ************
Here I want to get the id of client (or IConnection object)
who is sending request to the server:
????????.getClient().getId();
************* */
// this function somehow gets the correct IConnection object. I
wonder how?
ServiceUtils.invokeOnConnection(method, params);
}
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org