Sebi,

Assuming this is something you have to, or really want to do at this 
layer...

My first thought would be to extend the HttpService class.

Override the send method. If a current request is not pending, call 
super.send( params), else queue it.

Then add event listeners for both the result and fault events of the 
service. When either a result or fault happens, send the next one out 
of the queue.

There might be a more elegant way... but that was my first thought.

Mike

--- In [email protected], "Sebastian Feher" <[EMAIL PROTECTED]> 
wrote:
>
> I need to limit the number of HTTP connections available to 
> mx:HTTPService to 1. As I could not find a way of configuring this I 
> plan to write my own component (only for the concurrency=multiple 
> scenario) to queue the requests, allow only one connection at a time 
to 
> pass through and handle the results properly. 
> 
> My Flex skills are ok and I previously wrote UI Components. Where 
> should start from?
> 
> Thanks in advance,
> Sebi
>


Reply via email to