Handling extension response from multiple rooms simultaneous

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

saket12345
Posts: 1
Joined: 11 Oct 2011, 10:08

Handling extension response from multiple rooms simultaneous

Postby saket12345 » 11 Oct 2011, 10:24

Hi Everyone

I am joined to multiple rooms... lets say roomId 4 & 7. When I send a public message to a room... onPublicMessage I get the roomId from which the response is coming.
Now when I send a request to an extension I receive a response in onExtensionResponse. The problem is I am not able to figure out is the response is coming from roomId 4 or 7. Is there a way to identify from which room the response is coming, inbuilt in the smartfox system? Or I have to define roomId variable myself in the response object to identify that.

Help me out.

I am using SmartFox Server Pro and flash as3 API.

thanks in advance.

- Saket
User avatar
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Postby BigFIsh » 16 Oct 2011, 00:00

Yes, you'll need to pass the room id. See this thread: http://www.smartfoxserver.com/forums/viewtopic.php?t=6430
Smartfox's forum is my daily newspaper.

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 41 guests