English 中文(简体)
从灵活 LCDDS 服务检索数据延迟
原标题:Delay in retrieving data from flex LCDS service

我们使用远程天体从 java 网络服务中检索数据。 在初始载荷中, 我们正在创建 4 个远程天体并点击 sevice my service 。 在 java 结束时, 从远程 Obj1 调来的函数先执行, 后再执行 第二次、 第三次 和第四次 。 但是所有 4 个远程天体的结果事件只有在执行 4 个远程天体的 java 功能后才能发送 。

我们希望, 如果第一个函数先执行, 那么该远程对象的结果事件应该先发送 。 它不应该等到第 4 个函数执行 。

有什么建议吗?

问题回答

最简单的方式是将事件处理程序连锁起来。 等到第一个远程目标的结果处理程序被引用之后, 然后再拨第二个电话等等 。

记住: 反车辆地雷是无阻断和同步的, 而编程模型是活动驱动的。 所以, 它与同步的“ naive” Java 代码不同 。





相关问题
Disable button tooltip in AS3

I want to disable the tooltip on certain buttons. The tooltip manager seems to be an all or nothing solution. Is it possible to disable the tooltip for just one or two buttons?

Multiple Remote call made simultenously

I was making multiple remote calls and they are done sequentially and when I am getting a result event back it s triggering calls to all the methods with ResultEvent as an argument . I am supposed to ...

Attaching a property to an event in Flex/AS3

I have a parameter that needs to be passed along with an event. After unsuccessful attempts to place it on the type by extending the class, I ve been advised in another SO question to write a custom ...

Clearing RSL in Cache

I have built a flex application which has a "main" project and it is assosciated with a few RSL s which are loaded and cached once i run my "main" application. The problem i am facing is that the ...

What s a good way of deserializing data into mock objects?

I m writing a mock backend service for my flex application. Because I will likely need to add/edit/modify the mock data over time, I d prefer not to generate the data in code like this: var mockData =...

AS3 try/catch out of memory

I m loading a few huge images on my flex/as3 app, but I can t manage to catch the error when the flash player runs out of memory. Here is the what I was thinking might work (I use ???? because i dont ...

热门标签