Great! Thanks Joachim and Luke.
On 7/24/07, Luke Hubbard <[EMAIL PROTECTED]> wrote:
http://dl.fancycode.com/red5/api/org/red5/server/api/Red5.html Red5.getConnectionLocal(); On 7/24/07, Klemen Nagode <[EMAIL PROTECTED]> wrote: > 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<http://osflash.org/mailman/listinfo/red5_osflash.org> > /listinfo/red5_osflash.org<http://osflash.org/mailman/listinfo/red5_osflash.org> > > -- Luke Hubbard codegent | coding for the people http://www.codegent.com NMA Top 100 Interactive Agencies - Ones to watch! http://www.codegent.com/top100/ want to know more? http://www.codegent.com/showreel/ This e-mail may contain information which is privileged, confidential and protected from disclosure. If you are not the intended recipient of this e-mail, or any part of it, please delete this email and any attachments immediately on receipt. You should not disclose the contents to any other person or take copies. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of codegent limited. _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
