We went through this recently with an HTML/AJAX based AIR app, utilizing 
the Flex/Ajax Bridge to communicate with blazeDS. We found a method in 
the Consumber obj that basically checked the connection and 
re-subscribed if the connection had been broken. The Flex/Ajax Bridge 
Consumer object is basically a JavaScript version of the AS3 class 
within Flex (same API, mostly), in fact we used the AS3 API docs to 
figure out it's usage (since the FAB is not well documented.)

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_____________________________
http://blog.cutterscrossing.com

ibo wrote:
> 
> 
> Is there a way for a flex client to know that the connection got "cut 
> off" from a blazeds backend? (ie. server was restarted). i have a flex 
> grid that gets updated regularly (partial data, accumulates overtime) by 
> a backend service using pub/sub messaging.. but if the server gets 
> rebooted, the server should push the whole list of data (not partial). 

Reply via email to