boganov / merapi

Automatically exported from code.google.com/p/merapi
0 stars 1 forks source link

Messages from Java to Air getting pilled up #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Make a Flex class that extends merapi.handlers.MessageHandler and
register it to receive "some_type";
2. Make a Java class that extends Message and register it to the same type.
Also, have a button to fire new ClassMessage().send();
3. In Flex, have the function handleMessage trace("something");
4. Click to send the first message from Java, you'll see "something" in the
Flex console;
5. Click to send the second message from Java, you'll see "something \n
something \n something";
6. Click to send the third message from Java, you'll see "something \n
something \n something \n something \n something \n something";

What is the expected output? What do you see instead?

Expected: "something \n something \n something"
Saw: "something \n something \n something \n something \n something \n
something"

What version of the product are you using? On what operating system?

Last merapi.core, Flex sdk 3.4, last Java sdk

Please provide any additional information below.

The java class fires one message at a time.

On the flex side, it receives the first message. 
On the second message it fires the first and the second message.
On the third message it fires the first, the second message and the
third....and so forth till' some maximum number is hit(around 5~20 I
noticed)...

Any insite on it would be greatly appreciated.

If source is needed please mail me: cristianrossi.udesc@gmail.com or find
me on skype cristianrossi.render, I'll have a test case ready.

Original issue reported on code.google.com by cristian...@gmail.com on 9 Sep 2009 at 7:57

GoogleCodeExporter commented 9 years ago
This is fixed in the src checked into trunk, but not in the binary build... if 
you
check out src and compile your own jar / swc the issue should be resolved. We 
will be
merging a branch to trunk soon that fixes some other issues.

Original comment by adamfla...@gmail.com on 9 Sep 2009 at 8:00

GoogleCodeExporter commented 9 years ago
ok, I'll be checking that out!

thank you very much!!

Original comment by cristian...@gmail.com on 9 Sep 2009 at 10:57