Client not receiving from room extension

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
mihairaulea
Posts: 6
Joined: 28 Oct 2010, 14:16

Client not receiving from room extension

Post by mihairaulea »

Hello.

I am using actionscript 3 on the client and java on the server side.

My problem is the following : i am creating using my server side extension a room.To this room, i am attaching a server side extension.

The user successfully joins the room.

I am able to send requests from my client, and on the server side i am tracing the receipt of the request.It's all ok, it even calls the sendResponse function, but somehow the client side is not receiving data from the room extension.

In brief :

-> room with dynamic extension
-> user joins room successfully
-> client sending
-> room extension receiving client request
-> room extension sending ( checked recipient list and method invocation )
-> client not receiving at all

What could be possibly going wrong?
mihairaulea
Posts: 6
Joined: 28 Oct 2010, 14:16

Post by mihairaulea »

no one is going to reply, right?
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

but somehow the client side is not receiving data from the room extension.
Could you try and confirm the outgoing/incoming data by setting .debug to true for your SmartFoxClient instance and turning on DebugOutGoingMessages via your config.xml file. i.e. <DebugOutGoingMessages>true</DebugOutGoingMessages>

This will narrow down the problem.

Also, which method are you using via server extension that sends the message or update back to the client?

Lastly, does your SFS log files showing anything suspicious?
Smartfox's forum is my daily newspaper.
mihairaulea
Posts: 6
Joined: 28 Oct 2010, 14:16

Post by mihairaulea »

thank you for your help, setting <DebugOutGoingMessages>true</DebugOutGoingMessages> helped.
I was sending blank messages, and apparently blank messages don't fire SFSEvent.onExtensionResponse
Post Reply